cupy.linalg.det#

cupy.linalg.det(a)[source]#

Returns the determinant of an array.

Parameters:

a (cupy.ndarray) – The input matrix with dimension (..., N, N).

Returns:

Determinant of a. Its shape is a.shape[:-2].

Return type:

cupy.ndarray