jax.scipy.linalg.det(a, overwrite_a=False, check_finite=True)[source]#

Compute the determinant of a matrix

LAX-backend implementation of scipy.linalg._basic.det().

Does not support the Scipy argument check_finite=True, because compiled JAX code cannot perform checks of array values at runtime.

Does not support the Scipy argument overwrite_*=True.

Original docstring below.

The determinant of a square matrix is a value derived arithmetically from the coefficients of the matrix.

The determinant for a 3x3 matrix, for example, is computed as follows:

a    b    c
d    e    f = A
g    h    i

det(A) = a*e*i + b*f*g + c*d*h - c*e*g - b*d*i - a*f*h

a ((M, M) array_like) – A square matrix.


det – Determinant of a.

Return type

float or complex