Returns sign and logarithm of the determinant of an array.
It calculates the natural logarithm of the determinant of a given value.
Parameters: a (cupy.ndarray) – The input matrix with dimension
(..., N, N).
Returns: It returns a tuple
signrepresents each sign of the determinant as a real number
-1. ‘logdet’ represents the natural logarithm of the absolute of the determinant. If the determinant is zero,
-inf. The shapes of both
logdetare equal to
Return type: tuple of