Description Usage Arguments Value Author(s) See Also Examples
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 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.