linear-algebra
Additional linear algebra code, including matrix functions.
Select category:
Vector functions
Matrix functions
Matrix factorization
Block sparse matrices
Kronecker Products
Circulant matrices
Compute the vector projection of a 3-vector onto another.
Computes the cartesian product of given column vectors ( row vectors ).
Computes the complete orthogonal decomposition (COD) of the matrix A: A = Q*R*Z' Let A be an M-by-N matrix, and let 'K = min(M, N)'.
Compute matrix equivalent of function F; F can be a function name or a function handle and A must be a square matrix.
Solves Hermitian partial eigenproblems using preconditioning.
Computes an n-dimensional covariant linear transform of an n-d tensor, given a transformation matrix for each dimension.
The function w = rotparams (r) - Inverse to rotv().
The functionrotv calculates a Matrix of rotation about V w/ angle |v| r = rotv(v [,ang])
Solves the square system '(A + U*V')*X == B', where U and V are matrices with several columns, using the Sherman-Morrison-Woodbury formula, so that a system with A as left-hand side is actually sol...
Trigonometric/hyperbolic functions of square matrix X.
Nonnegative Matrix Factorization by Alternating Nonnegativity Constrained Least Squares using Block Principal Pivoting/Active Set method.
Non-negative matrix factorization by alternative non-negative least squares using projected gradients.
Construct a block sparse matrix.
Returns the block size of the matrix.
Returns the conjugate transpose of a block sparse matrix X.
Displays the block sparse matrix.
Converts a block sparse matrix to full.
Returns true (a blksparse object is a matrix).
Returns true if the array is non-complex.
Returns true since a blksparse is sparse by definition.
Subtract two blksparse objects.
Performs a left division with a block sparse matrix.
Performs a left division with a block sparse matrix.
Multiplies a block sparse matrix with a full matrix, or two block sparse matrices.
Add two blksparse objects.
Returns the size of the matrix.
Converts a block sparse matrix to (built-in) sparse.
Index elements from a blksparse object.
Returns the transpose of a block sparse matrix X.
Returns the negative of a block sparse matrix X.
Returns the unary plus of a block sparse matrix X.
Construct a Kronecker product object.
Return the number of columns in the Kronecker product KP.
The complex conjugate transpose of a Kronecker product.
Compute the determinant of a Kronecker product.
Show the content of the Kronecker product KP.
Show the content of the Kronecker product KP.
Return the full matrix representation of the Kronecker product KP.
Return the inverse of the Kronecker product KP.
Return true if the Kronecker product KP contains any complex values.
Return true to indicate that the Kronecker product KP always is a matrix.
Return true if the Kronecker product KP is real, i.e. has no imaginary components.
Return true if one of the matrices in the Kronecker product KP is sparse.
Return true if the Kronecker product KP is a square matrix.
Return the difference between a Kronecker product and another matrix.
Perform matrix left division.
Perform matrix power operation.
Perform matrix multiplication operation.
Return the number of elements in the Kronecker product KP.
Return the sum of a Kronecker product and another matrix.
Return the rank of the Kronecker product KP.
Perform element-by-element right division.
Return the number of rows in the Kronecker product KP.
Return the size of the Kronecker product KP as a vector.
True if all input have same dimensions.
Return the Kronecker product KP represented as a sparse matrix.
Perform elemtn-by-element multiplication.
Returns the trace of the Kronecker product KP.
Returns the transpose of the Kronecker product KP.
Returns the unary minus operator working on the Kronecker product KP.
Returns the unary plus operator working on the Kronecker product KP.
Produce a full circulant matrix given the first column.
Fast, compact calculation of the product of a circulant matrix with a vector Given N*1 vectors V and X, return the matrix-vector product Y = CX, where C is the N*N circulant matrix that has V as it...
Fast, compact calculation of eigenvalues and eigenvectors of a circulant matrix Given an N*1 vector V, return the eigenvalues LAMBDA and optionally eigenvectors VS of the N*N circulant matrix C tha...
Fast, compact calculation of inverse of a circulant matrix Given an N*1 vector V, return the inverse C of the N*N circulant matrix C that has V as its first column The returned C is the first colum...
Package: linear-algebra