chainerx.linalg.inv¶
-
chainerx.linalg.
inv
(a)¶ Computes the inverse of a matrix.
This function computes matrix
a_inv
from square matrixa
such 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
dtype
must befloat32
orfloat64
(float16
is not supported yet.)See also