# cupy.linalg.inv¶

cupy.linalg.inv(a)[source]

Computes the inverse of a matrix.

This function computes matrix a_inv from n-dimensional regular matrix a such that dot(a, a_inv) == eye(n).

Parameters: a (cupy.ndarray) – The regular matrix The inverse of a matrix. cupy.ndarray