Description Usage Arguments Examples
Used for getting the flattened index for an array with dimensions x.max x y.max x n, where n is arbitrary.
1 | toInd(x, y, z, x.max, y.max)
|
x |
x coordinate, ranges between 1 and |
y |
y coordinate, ranges between 1 and |
z |
z coordinate, must be at least 1 |
x.max |
maximum value of x coordinates |
y.max |
maximum value of y coordinates |
1 | toInd(x = 60, y = 13, z = 1, x.max = 100, y.max = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.