Description Usage Arguments Details Value Author(s) Examples
Calculate a number of elements in a lower/upper triangle of a symmetric matrix of size n*n when n is given.
1 | nDiag2nTri(n)
|
n |
A number of diagonal elements in a symmetric matrix. |
nCoeff = (n^2-n)/2, thus n = (1+sqrt(1+8*nCoeff))/2
A number of elements in a lower/upper triangle of a matrix (excluding the diagonal).
Vilmantas Gegzna
1 2 | nDiag2nTri(5)
nDiag2nTri(7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.