2015-06-10 20:54:14 +02:00

776 B

Function lup

Calculate the Matrix LU decomposition with partial pivoting. Matrix A is decomposed in two matrices (L, U) and a row permutation vector p where A[p,:] = L * U

Syntax

math.lup(A);

Parameters

Parameter Type Description
A Matrix | Array A two dimensional matrix or array for which to get the LUP decomposition.

Returns

Type Description
Array The lower triangular matrix, the upper triangular matrix and the permutation matrix.

See also

slu, lsolve, lusolve, usolve