|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.linear.algebra.CroutPivot
An implementation of LU decomposition using Crout's algorithm with partial pivoting.
References:
Linear Algebra and Its Applications
Gilbert Strang / Hardcover / Published 1988
Matrix Computations (Johns Hopkins Studies in the Mathematical Sciences)
Gene H. Golub, Charles F. Van Loan (Contributor) / Paperback / Published 1996
Numerical Recipes in C : The Art of Scientific Computing
William H. Press, et al / Hardcover / Published 1993
Parallel Algorithms for Matrix Computations
K.A. Gallivan / Paperback / Published 1990
Constructor Summary | |
CroutPivot()
|
|
CroutPivot(MatrixI matrix)
|
Method Summary | |
double |
computeDeterminate()
Computes the determinate of the original matrix from the components. |
DenseMatrix |
computeInverse()
Uses backsubstitution on each column to solve for the inverse. |
MatrixI |
computeInverse(MatrixI results)
Uses backsubstitution on each column to solve for the inverse. |
void |
decompose(MatrixI m)
Decompose a matrix into lower and upper triangular matrices. |
DenseMatrix |
getL()
Get the permuted lower triangular matrix. |
MatrixI |
getL(MatrixI results)
Get the permuted lower triangular matrix. |
int[] |
getRowPermutations()
Returns the row permutations. |
DenseMatrix |
getU()
Get the permuted upper triangular matrix. |
MatrixI |
getU(MatrixI results)
Get the permuted upper triangular matrix. |
DenseVector |
solveEquations(VectorI rightHandSides)
Uses backsubstitution to solve the simultaneous equations. |
VectorI |
solveEquations(VectorI rightHandSides,
VectorI results)
Uses backsubstitution to solve the simultaneous equations. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public CroutPivot()
public CroutPivot(MatrixI matrix) throws AlgebraException, SingularException
Method Detail |
public void decompose(MatrixI m) throws AlgebraException, SingularException
public DenseMatrix getL()
public MatrixI getL(MatrixI results)
public DenseMatrix getU()
public MatrixI getU(MatrixI results)
public int[] getRowPermutations()
public DenseVector solveEquations(VectorI rightHandSides) throws AlgebraException
public VectorI solveEquations(VectorI rightHandSides, VectorI results) throws AlgebraException
public DenseMatrix computeInverse() throws AlgebraException
public MatrixI computeInverse(MatrixI results) throws AlgebraException
public double computeDeterminate() throws AlgebraException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |