Linear algebra (cupy.linalg
)¶
See also
Matrix and vector products¶
|
Returns a dot product of two arrays. |
|
Returns the dot product of two vectors. |
|
Returns the inner product of two arrays. |
|
Returns the outer product of two vectors. |
|
Matrix product of two arrays. |
|
Returns the tensor dot product of two arrays along specified axes. |
|
Evaluates the Einstein summation convention on the operands. |
|
Raise a square matrix to the (integer) power n. |
|
Returns the kronecker product of two arrays. |
Decompositions¶
Cholesky decomposition. |
|
|
QR decomposition. |
|
Singular Value Decomposition. |
Matrix eigenvalues¶
|
Return the eigenvalues and eigenvectors of a complex Hermitian (conjugate symmetric) or a real symmetric matrix. |
|
Compute the eigenvalues of a complex Hermitian or real symmetric matrix. |
Norms and other numbers¶
|
Returns one of matrix norms specified by |
|
Returns the determinant of an array. |
|
Return matrix rank of array using SVD method |
Returns sign and logarithm of the determinant of an array. |
|
|
Returns the sum along the diagonals of an array. |
Solving equations and inverting matrices¶
|
Solves a linear matrix equation. |
|
Solves tensor equations denoted by |
|
Return the least-squares solution to a linear matrix equation. |
|
Computes the inverse of a matrix. |
|
Compute the Moore-Penrose pseudoinverse of a matrix. |
|
Computes the inverse of a tensor. |