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 : (M, N) array_like
permute_l : bool
overwrite_a : bool
check_finite : boolean, optional
|
---|---|
Returns : | **(If permute_l == False)** : p : (M, M) ndarray
l : (M, K) ndarray
u : (K, N) ndarray
**(If permute_l == True)** : pl : (M, K) ndarray
u : (K, N) ndarray
|
Notes
This is a LU factorization routine written for Scipy.