public abstract class LUDecompositionBase_D64
extends java.lang.Object
implements org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DenseMatrix64F>
Contains common data structures and operations for LU decomposition algorithms.
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
dataLU |
protected int[] |
indx |
protected org.ejml.data.DenseMatrix64F |
LU |
protected int |
m |
protected int |
maxWidth |
protected int |
n |
protected int[] |
pivot |
protected double |
pivsign |
protected double[] |
vv |
| Constructor and Description |
|---|
LUDecompositionBase_D64() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
_getVV() |
void |
_solveVectorInternal(double[] vv)
a specialized version of solve that avoid additional checks that are not needed.
|
org.ejml.data.Complex64F |
computeDeterminant()
Computes the determinant from the LU decomposition.
|
protected void |
decomposeCommonInit(org.ejml.data.DenseMatrix64F a) |
int[] |
getIndx() |
org.ejml.data.DenseMatrix64F |
getLower(org.ejml.data.DenseMatrix64F lower)
Writes the lower triangular matrix into the specified matrix.
|
org.ejml.data.DenseMatrix64F |
getLU() |
int[] |
getPivot() |
org.ejml.data.DenseMatrix64F |
getPivot(org.ejml.data.DenseMatrix64F pivot) |
org.ejml.data.DenseMatrix64F |
getUpper(org.ejml.data.DenseMatrix64F upper)
Writes the upper triangular matrix into the specified matrix.
|
boolean |
inputModified() |
boolean |
isSingular()
Determines if the decomposed matrix is singular.
|
double |
quality() |
void |
setExpectedMaxSize(int numRows,
int numCols) |
protected org.ejml.data.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
public void setExpectedMaxSize(int numRows,
int numCols)
public org.ejml.data.DenseMatrix64F getLU()
public int[] getIndx()
public int[] getPivot()
public boolean inputModified()
inputModified in interface org.ejml.interfaces.decomposition.DecompositionInterface<org.ejml.data.DenseMatrix64F>public org.ejml.data.DenseMatrix64F getLower(org.ejml.data.DenseMatrix64F lower)
getLower in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DenseMatrix64F>lower - Where the lower triangular matrix is writen to.public org.ejml.data.DenseMatrix64F getUpper(org.ejml.data.DenseMatrix64F upper)
getUpper in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DenseMatrix64F>upper - Where the upper triangular matrix is writen to.public org.ejml.data.DenseMatrix64F getPivot(org.ejml.data.DenseMatrix64F pivot)
getPivot in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DenseMatrix64F>protected void decomposeCommonInit(org.ejml.data.DenseMatrix64F a)
public boolean isSingular()
isSingular in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DenseMatrix64F>public org.ejml.data.Complex64F computeDeterminant()
computeDeterminant in interface org.ejml.interfaces.decomposition.LUDecomposition<org.ejml.data.DenseMatrix64F>public double quality()
public void _solveVectorInternal(double[] vv)
public double[] _getVV()