cns_splitdim

Shows how CNS will automatically factor a split dimension of a given size.

Syntax

s = cns_splitdim(n)
s = cns_splitdim(n, numParts)
n
The size of the dimension to be factored.

numParts
The number of parts into which it will be factored. Defaults to 2.

s
The resulting sizes.