packageMatrices
Package of functions operating on matrices
Extends from Modelica.Icons.Package (Icon for standard packages).
Information
This package provides functions operating on matrices, see also Matrices.
Contents
| Name | Description |
|---|---|
| Package of LAPACK functions | |
| Package of examples to demonstrate the usage of matrices | |
| care | Solution of continuous-time algebraic Riccati equations |
| cholesky | Compute the Cholesky factorization of a symmetric positive definte matrix |
| choleskyDownDate | Compute the cholesky factor Ld according to Ad=Ld'*Ld=A - v*v' with A=L'*L |
| choleskyDownDate2 | Compute the cholesky factor Ld according to Ad=Ld'*Ld=A - v*v' with A=L'*L |
| choleskyUpDate | Compute the cholesky factor Lu according to Au=Lu'*Lu=A + v*v' with A=L'*L |
| Calculate the condition number norm(A)*norm(inv(A)) | |
| dare | Solution of discrete-time algebraic Riccati equations |
| Determinant of a matrix (computed by LU decomposition) | |
| dlyapunov | Solution of continuous-time Lyapunov equation A'X*A - X = C |
| dsylvester | Solution of discrete-time Sylvester equation A*X*B + sgn*X = C |
| Compute eigenvalues and eigenvectors for a real, nonsymmetric matrix (matrix is balanced before eigenvalues are computed) | |
| Return eigenvalues for a real, nonsymmetric matrix in a Real representation (computation with optional balancing) | |
| Solve a linear equality constrained least squares problem | |
| fliplr | Flip the columns of a matrix in left/right direction |
| flipud | Flip the columns of a matrix in up/down direction |
| fromFile | Read matrix from a matlab file |
| generalizedEigenvaluesTriangular | Compute invariant zeros of linear state space system with a generalized system matrix [A, B, C, D] which is of upper Hessenberg form |
| hessenberg | Transform a matrix to upper Hessenberg form |
| householderReflexion | Reflect each of the vectors ai of matrix A=[a1, a2, ..., an] on a plane with orthogonal vector u |
| householderSimilarityTransformation | Calculate the similarity transformation S*A*S of matrix A with symmetric householder matrix S = I - 2u*u' |
| Solve overdetermined or underdetermined real system of linear equations A*X=B in a least squares sense (A may be rank deficient) | |
| Solve overdetermined or underdetermined real system of linear equations A*x=b in a least squares sense (A may be rank deficient) | |
| lyapunov | Solution of continuous-time Lyapunov equation X*A + A'*X = C |
| LQ | LQ decomposition of a rectangular matrix without column pivoting (A = L*Q) |
| LU decomposition of square or rectangular matrix | |
| Solve real system of linear equations P*L*U*x=b with a b vector and an LU decomposition (from LU(..)) | |
| LU_solve2 | Solve real system of linear equations P*L*U*X=B with a B vector and an LU decomposition (from LU(..)) |
| toUpperHessenberg | Transform a real general matrix A to upper Hessenberg form H by an orthogonal similarity transformation: Q' * A * Q = H |
| Returns the norm of a matrix | |
| Orthonormal nullspace of a matrix | |
| orthogonalQ | Generates a real orthogonal matrix Q defined as the product of IHI-ILO elementary reflectors |
| printMatrix | Print matrix |
| printMatrixInHtml | Print a matrix in html format on file (without html/body heading) |
| QR | QR decomposition of a rectangular matrix without column pivoting (A = Q*R). Return the full square Q-matrix |
| Reciprocal condition number | |
| rsf | Computes the real Schur form (RSF) of a square matrix |
| rsf2 | Computes the real Schur form (RSF) of a square matrix but uses lapack.dgees |
| Solve real system of linear equations A*x=b with a b vector (Gaussian elemination with partial pivoting) | |
| Solve real system of linear equations A*X=B with a B matrix (Gaussian elemination with partial pivoting) | |
| Solve real system of linear equations X*op(A)=B with a B matrix (Gaussian elemination with partial pivoting) | |
| sylvester | Solution of continuous-time Sylvester equation A*X + X*B = C |
| Sum of the diagonal elements of A | |
| triangle | Return the upper/lower triangular part of a square matrix |
| Package of internal functions operating on matrices (for advanced users only) |