Back to LAPACK/BLAS
la.norms.slogdet
Compute the sign and natural logarithm of the absolute value of the determinant.
Syntax
la.norms.slogdet(A, options?)
Description
Compute the sign and natural logarithm of the absolute value of the determinant. Returns (sign, logabsdet) such that det(A) = sign * exp(logabsdet). This is the most numerically stable way to work with determinants, especially for large matrices or matrices with very large/small determinants.
Parameters
| Name | Description |
|---|---|
| A | - Input square matrix (n × n) |
| options(optional) | - Computation options |
Returns
SlogDetResult