View source: R/is_invertible.R
is_invertible | R Documentation |
Checks a matrix to see if it is invertible.
is_invertible(x)
x |
A numeric matrix which should be checked to see if it is invertible. |
TRUE if the supplied matrix is invertible, FALSE otherwise.
is_invertible(matrix(c(1, 2, 2, 1), 2, 2)) # => TRUE is_invertible(matrix(c(1, 1, 1, 1), 2, 2)) # => FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.