bundles / scipy 1.18.0 / scipy / linalg / _batched_linalg / _det
built-in
scipy.linalg._batched_linalg:_det
Signature
built-in
_linalg_det(a, overwrite_a, /)Summary
Compute the determinant of a square matrix via LU factorization.
Parameters
a: (..., N, N) ndarrayInput array of type float32, float64, complex64, or complex128.
overwrite_a: boolIf True and the input is 2D contiguous and writable, the input buffer is used directly as the getrf workspace (destroyed on exit).
Returns
det: (...) ndarrayDeterminant values with the same dtype as the input.
Aliases
scipy.linalg._basic._linalg_det