![]() |
NULAPACK
NUmerical Linear Algebra PACKage
|
Functions | |
| crout (np.ndarray a) | |
| python.crout.crout | ( | np.ndarray | a | ) |
Compute the LU Crout decomposition of a general matrix A.
Parameters
----------
a : ndarray
Coefficient matrix (n x n) stored as a full matrix.
Returns
-------
L : ndarray
Lower triangular matrix from the factorization.
U : ndarray
Upper triangular matrix from the factorization (with ones on diagonal).
info : int
0 if success, <0 if a zero diagonal in L was detected.