chainerx.linalg.inv¶
-
chainerx.linalg.inv(a)¶ Computes the inverse of a matrix.
This function computes matrix
a_invfrom square matrixasuch thatdot(a, a_inv) = dot(a_inv, a) = eye(a.shape[0]).- Parameters
a (ndarray) – The matrix to be inverted.
- Returns
The inverse of a matrix.
- Return type
Note
The
dtypemust befloat32orfloat64(float16is not supported yet.)See also