dist_2d_to_1d | R Documentation |
Covert the 2-dimensional index to 1-dimensional index
dist_2d_to_1d(i, j, n, m)
i |
Index of row |
j |
Index of column |
n |
Total number of rows |
m |
Total number of columns |
a 1d index for easy matrix entry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.