ldlDecomp

Computes the factorization of a real symmetric matrix A using the Bunch-Kaufman diagonal pivoting method. The for of the factorization is: \A = L*D*L**T Where L is product if permutation and unit lower triangular matrices, and D is symmetric and block diagonal with '1 x 1' and '2 x 2' diagonal blocks.

ldlDecomp
(
Flag!"allowDestroy" allowDestroy = No.allowDestroy
Iterator
SliceKind kind
)
(
char uplo
,
Slice!(Iterator, 2, kind) a
)

Parameters

allowDestroy

flag to delete the source matrix.

a Slice!(Iterator, 2, kind)

input symmetric 'n x n' matrix for factorization.

uplo char

'U': Upper triangle is stored; 'L': lower triangle is stored.

Return Value

Type: auto

Meta