
- •Idmodel/norm
- •Xreginterprbf/cond
- •Xreginterprbf/condest
- •Vector instead of a matrix. That is, p is a row vector such that
- •Vector instead of a matrix. That is, p is a row vector such that
- •In place of 'vector' returns permutation matrices.
- •Eigenvalues and singular values
- •Values, sqrt(diag(c'*c)./diag(s'*s)).
- •If sigma is a real or complex scalar including 0, eigs finds the
- •Is symmetric or Hermitian, the form is tridiagonal.
- •Index appearing in the upper left corner.
- •In their order of appearance down the diagonal of aa-t*bb.
- •Matrix functions
- •Factorization utilities
- •Xreglinear/qrdelete
- •Is real) from Real Schur Form to Complex Schur Form. The Real
Vector instead of a matrix. That is, p is a row vector such that
A(p,p) = L*D*L'.
L = LDL(A) returns only the "psychologically lower triangular matrix" L
as in the two output form. The permutation information is lost, as is
the block diagonal factor D. This syntax is not valid for sparse A.
By default, LDL references only the diagonal and lower triangle of A,
and assumes that the upper triangle is the complex conjugate transpose
of the lower triangle. Therefore [L,D,P] = LDL(TRIL(A)) and
[L,D,P] = LDL(A) both return the exact same factors.
[U,D,P] = LDL(A,'upper') references only the diagonal and upper triangle
of A and assumes that the lower triangle is the complex conjugate
transpose of the upper triangle. This call returns a unit upper triangular
matrix U such that P'*A*P = U'*D*U (assuming that A is Hermitian, and not
just upper triangular). Similarly, [L,D,P] = LDL(A,'lower') gives
the default behavior.
[U,D,p] = LDL(A,'upper','vector') returns the permutation information
as a vector, as does [L,D,p] = LDL(A,'lower','vector').
[L,D,P,S] = LDL(A) returns unit lower triangular L, block diagonal D,
permutation matrix P, and scaling matrix S such that P'*S*A*S*P =
L*D*L'. This syntax is only available for real sparse matrices, and
only the lower triangle of A is referenced. LDL uses MA57 for real
sparse A.
[L,D,P,S] = LDL(A,THRESH) uses THRESH as the pivot tolerance in MA57.
THRESH must be a double scalar lying in the interval [0, 0.5]. The
default value for THRESH is 0.01. Using smaller values of THRESH may
give faster factorization times and fewer entries, but it may also
result in a less stable factorization. This syntax is only available
for real sparse matrices.
[U,D,p,S] = LDL(A,THRESH,'upper','vector') sets the pivot tolerance and
returns upper triangular U and permutation vector p as described above.
See also chol, lu, qr.
Reference page in Help browser
doc ldl
<lu> - LU factorization.
LU LU factorization.
[L,U] = LU(A) stores an upper triangular matrix in U and a
"psychologically lower triangular matrix" (i.e. a product of lower
triangular and permutation matrices) in L, so that A = L*U. A can be
rectangular.
[L,U,P] = LU(A) returns unit lower triangular matrix L, upper
triangular matrix U, and permutation matrix P so that P*A = L*U.
[L,U,p] = LU(A,'vector') returns the permutation information as a
Vector instead of a matrix. That is, p is a row vector such that
A(p,:) = L*U. Similarly, [L,U,P] = LU(A,'matrix') returns a
permutation matrix P. This is the default behavior.
Y = LU(A) returns the output from LAPACK'S DGETRF or ZGETRF routine if
A is full. If A is sparse, Y contains the strict lower triangle of L
embedded in the same matrix as the upper triangle of U. In both full
and sparse cases, the permutation information is lost.
[L,U,P,Q] = LU(A) returns unit lower triangular matrix L, upper
triangular matrix U, a permutation matrix P and a column reordering
matrix Q so that P*A*Q = L*U for sparse non-empty A. This uses UMFPACK
and is significantly more time and memory efficient than the other
syntaxes, even when used with COLAMD.
[L,U,p,q] = LU(A,'vector') returns two row vectors p and q so that
A(p,q) = L*U. Using 'matrix' in place of 'vector' returns permutation
matrices.
[L,U,P,Q,R] = LU(A) returns unit lower triangular matrix L, upper
triangular matrix U, permutation matrices P and Q, and a diagonal
scaling matrix R so that P*(R\A)*Q = L*U for sparse non-empty A.
This uses UMFPACK as well. Typically, but not always, the row-scaling
leads to a sparser and more stable factorization. Note that this
factorization is the same as that used by sparse MLDIVIDE when
UMFPACK is used.
[L,U,p,q,R] = LU(A,'vector') returns the permutation information in two
row vectors p and q such that R(:,p)\A(:,q) = L*U. Using 'matrix'