FUNCTION REFERENCE

ldl

Symmetric indefinite factorization with rook pivoting.

Symmetric indefinite factorization with rook pivoting.

Syntax

L = ldl(A); [L,D] = ldl(A); [L,D,P] = ldl(A); [U,D,P] = ldl(A,'upper')

Example

[L,D] = ldl([4 2; 2 3]); D   % [4 0; 0 2]

Differences from MATLAB: Real double matrices; lower triangle by default. The vector permutation option is not implemented.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.