public class AltLU extends Object
Contains common data structures and operations for LU decomposition algorithms.
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
dataLU |
protected int[] |
indx |
protected Matrix |
LU |
protected int |
m |
protected int |
maxWidth |
protected int |
n |
protected int[] |
pivot |
protected double[] |
vv |
| Constructor and Description |
|---|
AltLU() |
| Modifier and Type | Method and Description |
|---|---|
LUPResult |
_decompose(AMatrix a)
This is a modified version of what was found in the JAMA package.
|
double[] |
_getVV() |
void |
_solveVectorInternal(double[] vv)
a specialized version of solve that avoid additional checks that are not needed.
|
static LUPResult |
decompose(AMatrix A) |
int[] |
getIndx() |
AMatrix |
getLU() |
int[] |
getPivot() |
boolean |
isSingular()
Determines if the decomposed matrix is singular.
|
double |
quality()
the quality is the absolute value of the product of
each diagonal element divided by the magnitude of the largest diagonal element.
|
protected Matrix LU
protected int maxWidth
protected int m
protected int n
protected double[] dataLU
protected double[] vv
protected int[] indx
protected int[] pivot
public AMatrix getLU()
public int[] getIndx()
public int[] getPivot()
public double quality()
public LUPResult _decompose(AMatrix a)
a - The matrix that is to be decomposed. Not modified.public void _solveVectorInternal(double[] vv)
public double[] _getVV()
public boolean isSingular()
Copyright © 2016. All rights reserved.