NULAPACK
NUmerical Linear Algebra PACKage
Loading...
Searching...
No Matches
Functions
python.doolittle Namespace Reference

Functions

 doolittle (np.ndarray a)
 

Function Documentation

◆ doolittle()

python.doolittle.doolittle ( np.ndarray  a)
Compute the LU Doolittle 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.
info : int
    0 if success, <0 if a zero diagonal in U was detected.

Definition at line 33 of file doolittle.py.