Description Usage Arguments Details Value
ijtok
is a helper function that converts two-dimensional indices
i
and j
to a one-dimensional index k
. This can be
useful if, for example, one-dimensional indexing is easier to implement
than two-dimensional indexing.
1 | ijtok(x, i, j)
|
x |
A matrix-like object. |
i |
The first component of a two-dimensional index. |
j |
The second component of a two-dimensional index. |
It is assumed that all indices are one-based.
A one-dimensional index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.