ath.gatech.edu/~bourbaki/math2601/Web-notes/2num.pdf"> LU decomposition to support linear system solution and inverse.
The LU decomposition is performed as needed, to support the following operations:
- solve
- isSingular
- getDeterminant
- inverse
Usage notes:
- The LU decomposition is cached and reused on subsequent calls. If data are modified via references to the underlying array obtained using
getDataRef()
, then the stored LU decomposition will not be discarded. In this case, you need to explicitly invoke LUDecompose()
to recompute the decomposition before using any of the methods above. - As specified in the {@link RealMatrix} interface, matrix element indexingis 0-based -- e.g.,
getEntry(0, 0)
returns the element in the first row, first column of the matrix.
@version $Revision: 1073158 $ $Date: 2011-02-21 22:46:52 +0100 (lun. 21 févr. 2011) $