This function returns the number of components of an n-dimensional cube (known as an n-cube or measure polytope) as an array. For example If you need to know a cube’s number of components, then you would type Math.getNCube(3) and you’ll simply get the number components as the array “[8,12,6,1]“. The two examples after the code should give enough information about the usage of this function.
Continue reading ‘Math.getNCube()’
This post has been read 128 times.
