Package org.ejml.dense.row.decompose.lu
Class LUDecompositionAlt_CDRM
- java.lang.Object
-
- org.ejml.dense.row.decompose.lu.LUDecompositionBase_CDRM
-
- org.ejml.dense.row.decompose.lu.LUDecompositionAlt_CDRM
-
- All Implemented Interfaces:
org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.CMatrixRMaj>,org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.CMatrixRMaj>,org.ejml.interfaces.decomposition.LUDecomposition_F32<org.ejml.data.CMatrixRMaj>
public class LUDecompositionAlt_CDRM extends LUDecompositionBase_CDRM
An LU decomposition algorithm that originally came from Jama. In general this is faster than what is in NR since it creates a cache of a column, which makes a big difference in larger matrices.
-
-
Constructor Summary
Constructors Constructor Description LUDecompositionAlt_CDRM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecompose(org.ejml.data.CMatrixRMaj a)This is a modified version of what was found in the JAMA package.-
Methods inherited from class org.ejml.dense.row.decompose.lu.LUDecompositionBase_CDRM
_getVV, _solveVectorInternal, computeDeterminant, decomposeCommonInit, getIndx, getLower, getLU, getPivot, getRowPivot, getRowPivotV, getUpper, inputModified, isSingular, quality, setExpectedMaxSize, solveL
-
-
-
-
Method Detail
-
decompose
public boolean decompose(org.ejml.data.CMatrixRMaj a)
This is a modified version of what was found in the JAMA package. The order that it performs its permutations in is the primary difference from NR- Parameters:
a- The matrix that is to be decomposed. Not modified.- Returns:
- true If the matrix can be decomposed and false if it can not.
-
-