Linear Algebra#
Matrix and vector products#
Dot product of two arrays. |
|
Return the dot product of two vectors. |
|
Returns the inner product of a and b for arrays of floating point types. |
|
Matrix product of two tensors. |
|
Compute tensor dot product along specified axes for tensors >= 1-D. |
|
Evaluates the Einstein summation convention on the operands. |
Decompositions#
Cholesky decomposition. |
|
LU decomposition |
|
Compute the qr factorization of a matrix. |
|
Singular Value Decomposition. |
Norms and other numbers#
Computes the matrix norm of a matrix (or a stack of matrices) |
|
Matrix or vector norm. |
|
Computes the vector norm of a vector (or batch of vectors) |
Solving equations and inverting matrices#
Compute the (multiplicative) inverse of a matrix. |
|
Return the least-squares solution to a linear matrix equation. |
|
Solve the equation |
|
Solve the equation a x = b for x, assuming a is a triangular matrix. |