|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ejml.alg.dense.decomposition.lu.LUDecompositionBase
public abstract class LUDecompositionBase
Contains common data structures and operations for LU decomposition algorithms.
| Field Summary | |
|---|---|
protected double[] |
dataLU
|
protected int[] |
indx
|
protected DenseMatrix64F |
LU
|
protected int |
m
|
protected int |
maxWidth
|
protected int |
n
|
protected int[] |
pivot
|
protected double |
pivsign
|
protected double[] |
vv
|
| Constructor Summary | |
|---|---|
LUDecompositionBase()
|
|
| Method Summary | |
|---|---|
double[] |
_getVV()
|
void |
_solveVectorInternal(double[] vv)
a specialized version of solve that avoid additional checks that are not needed. |
double |
computeDeterminant()
Computes the determinant from the LU decomposition. |
protected void |
decomposeCommonInit(DenseMatrix64F a)
|
int[] |
getIndx()
|
DenseMatrix64F |
getLower(DenseMatrix64F lower)
Writes the lower triangular matrix into the specified matrix. |
DenseMatrix64F |
getLU()
|
int[] |
getPivot()
|
DenseMatrix64F |
getPivot(DenseMatrix64F pivot)
For numerical stability there are often row interchanges. |
DenseMatrix64F |
getUpper(DenseMatrix64F upper)
Writes the upper triangular matrix into the specified matrix. |
boolean |
inputModified()
Is the input matrix to DecompositionInterface.decompose(org.ejml.data.Matrix64F) is modified during
the decomposition process. |
boolean |
isSingular()
Determines if the decomposed matrix is singular. |
double |
quality()
|
void |
setExpectedMaxSize(int numRows,
int numCols)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ejml.alg.dense.decomposition.DecompositionInterface |
|---|
decompose |
| Field Detail |
|---|
protected DenseMatrix64F LU
protected int maxWidth
protected int m
protected int n
protected double[] dataLU
protected double[] vv
protected int[] indx
protected int[] pivot
protected double pivsign
| Constructor Detail |
|---|
public LUDecompositionBase()
| Method Detail |
|---|
public void setExpectedMaxSize(int numRows,
int numCols)
public DenseMatrix64F getLU()
public int[] getIndx()
public int[] getPivot()
public boolean inputModified()
DecompositionInterfaceDecompositionInterface.decompose(org.ejml.data.Matrix64F) is modified during
the decomposition process.
inputModified in interface DecompositionInterface<DenseMatrix64F>public DenseMatrix64F getLower(DenseMatrix64F lower)
getLower in interface LUDecomposition<DenseMatrix64F>lower - Where the lower triangular matrix is writen to.
public DenseMatrix64F getUpper(DenseMatrix64F upper)
getUpper in interface LUDecomposition<DenseMatrix64F>upper - Where the upper triangular matrix is writen to.
public DenseMatrix64F getPivot(DenseMatrix64F pivot)
LUDecompositionFor numerical stability there are often row interchanges. This computes a pivot matrix that will undo those changes.
getPivot in interface LUDecomposition<DenseMatrix64F>protected void decomposeCommonInit(DenseMatrix64F a)
public boolean isSingular()
isSingular in interface LUDecomposition<DenseMatrix64F>public double computeDeterminant()
computeDeterminant in interface LUDecomposition<DenseMatrix64F>public double quality()
public void _solveVectorInternal(double[] vv)
public double[] _getVV()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||