determinant(x, ..)
computes the determinant of the mpfr square
matrix x
. May work via coercion to "numeric"
, i.e., compute
determinant(asNumeric(x), logarithm)
, if
asNumeric
is true, by default, if the dimension is larger
than three. Otherwise, use precision precBits
for the
“accumulator” of the result, and use the
recursive mathematical definition of the determinant (with
computational complexity n!, where n is the matrix
dimension, i.e., very inefficient for all but small matrices!)
1 2 3  ## S3 method for class 'mpfrMatrix'
determinant(x, logarithm = TRUE,
asNumeric = (d[1] > 3), precBits = max(.getPrec(x)), ...)

x 
an 
logarithm 
logical indicating if the 
asNumeric 
logical .. .. if rather

precBits 
the number of binary digits for the result (and the intermediate accumulations). 
... 
unused (potentially further arguments passed to methods). 
as determinant()
, an object of S3 class "det"
, a
list
with components
modulus 
the (logarithm of) the absolute value
( 
sign 
the sign of the determinant. 
Martin Maechler
determinant
in base R, which relies on a fast LU decomposition.
mpfrMatrix
1 2 3 4 5 6 7 8 9 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.