cupy.linalg.solve¶
-
cupy.linalg.solve(a, b)[source]¶ Solves a linear matrix equation.
It computes the exact solution of
xinax = b, whereais a square and full rank matrix.Parameters: - a (cupy.ndarray) – The matrix with dimension
(M, M) - b (cupy.ndarray) – The vector with
Melements, or the matrix with dimension(M, K)
Returns: The vector with
Melements, or the matrix with dimension(M, K).Return type: See also
- a (cupy.ndarray) – The matrix with dimension