Compute pivoted LU decompostion of a matrix.
The decomposition is:
A = P L U
where P is a permutation matrix, L lower triangular with unit diagonal elements, and U upper triangular.
Parameters: | a : array, shape (M, N)
permute_l : boolean
overwrite_a : boolean
|
---|---|
Returns: | (If permute_l == False) : p : array, shape (M, M)
l : array, shape (M, K)
u : array, shape (K, N)
(If permute_l == True) : pl : array, shape (M, K)
u : array, shape (K, N)
|
Notes
This is a LU factorization routine written for Scipy.