pydistsim.benchmark.decide_rect_shape

decide_rect_shape(n: int)[source]

Auxiliary function to choose shape so that a * b ≈ n and neither a or b are equal to 1 (most of the time).