det {madness} | R Documentation |
Matrix Determinant
Description
Compute the determinant of a matrix. As for base::determinant
,
a list of the modulus and sign are returned.
Usage
## S3 method for class 'madness'
determinant(x, logarithm = TRUE, ...)
det(x, ...)
## S4 method for signature 'madness,ANY'
determinant(x, logarithm = TRUE, ...)
## S4 method for signature 'madness,missing'
determinant(x, logarithm = TRUE, ...)
## S4 method for signature 'madness,logical'
determinant(x, logarithm = TRUE, ...)
Arguments
x |
|
logarithm |
logical; if |
... |
Optional arguments. At present none are used. Previous
versions of |
Value
a list with elements modulus
and sign
,
which are madness
objects.
Note
throws an error for non-square matrices or non-matrix input.
Author(s)
Steven E. Pav shabbychef@gmail.com
[Package madness version 0.2.8 Index]