Convert a vector of linear indices to a a matrix of array indices. Each linear index will map to a column in the matrix.
1 | array_index(x, dims)
|
x |
vector of linear indices |
dims |
dimensions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.