is.tril | R Documentation |
Determine if a matrix is lower triangular.
is.tril(x)
x |
A matrix. |
Logical indicating whether the given matrix is lower triangular.
m <- mat("1, 0, 0, 0; -1, 1, 0, 0; -2, -2, 1, 0; -3, -3, -3, 1")
is.tril(m)
is.tril(eye(3, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.