Description Usage Arguments Details Value Examples
Vector of indices useful for symmetric or anti-symmetric matrices
1 | symIndices(n, diag = FALSE)
|
n |
Size of a square matrix. |
diag |
Logical. When |
This function is intended to provide computations which are faster than
lower.tri
and upper.tri
.
A list containing the following integer vectors, each with length (n - 1) n / 2.
i, j |
Row and column indices for the lower triangle to be used in a two-index style. |
kL |
Indices for the
lower triangle, to be used in single-index style. The elements are
picked in column order. So if |
kU |
Indices
for the upper triangle, to be used in a single-index style. The
elements are picked in row order. So if |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.