Scilab Function

lu - LU factors of Gaussian elimination

Calling Sequence

[L,U]= lu(A)
[L,U,E]= lu(A)

Parameters

Description

produces two matrices L and U such that A = L*U with U upper triangular and E*L lower triangular for a permutation matrix E.

If A has rank k, rows k+1 to n of U are zero.

produces three matrices L, U and E such that E*A = L*U with U upper triangular and E*L lower triangular for a permutation matrix E.

Examples

See Also

Used Function

lu decompositions are based on the Lapack routines DGETRF for real matrices and ZGETRF for the complex case.