Linear Algebra¶
Matrix and vector products¶
Returns the cross product of two vectors. |
|
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. |
|
Returns the matrix product of two arrays and is the implementation of the @ operator introduced in Python 3.5 following PEP465. |
|
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. |
|
Kronecker product. |
Decompositions¶
Cholesky decomposition. |
|
QR decomposition. |
|
Singular Value Decomposition. |
Matrix eigenvalues¶
Eigenvalues and eigenvectors of a symmetric matrix. |
|
Calculates eigenvalues of a symmetric matrix. |
Norms etc.¶
Returns the determinant of an array. |
|
Returns one of matrix norms specified by |
|
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 linear equations¶
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. |
|
LU decomposition. |
|
Solve an equation system, |
|
Solve the equation a x = b for x, assuming a is a triangular matrix. |
Special Matrices¶
Creates an array with ones at and below the given diagonal. |
|
Returns a lower triangle of an array. |
|
Returns an upper triangle of an array. |
|
Construct ( |
|
Make a copy of a matrix with elements above the |
|
Make a copy of a matrix with elements below the |
|
Construct a Toeplitz matrix. |
|
Construct a circulant matrix. |
|
Construct a Hankel matrix. |
|
Construct an Hadamard matrix. |
|
Create a Leslie matrix. |
|
Create a block diagonal matrix from provided arrays. |
|
Create a companion matrix. |
|
Create an Helmert matrix of order |
|
Create a Hilbert matrix of order |
|
Discrete Fourier transform matrix. |
|
Returns a symmetric Fiedler matrix |
|
Returns a Fiedler companion matrix |
|
Construct a convolution matrix. |