Description Usage Arguments Value
is_diagonal_matrix
takes a matrix and tests if it is a diagonal matrix.
1 | is_diagonal_matrix(x, tol = .Machine$double.eps)
|
x |
A matrix to test. |
tol |
Tolerance precision to eliminate all abs(x) values below |
A boolean. TRUE if the matrix is a diagonal matrix, FALSE if the matrix is not.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.