drasys.or.linear.algebra
Interface DecompositionI

All Known Subinterfaces:
LUDecompositionI, SVDecompositionI

public interface DecompositionI

The interface used by all algorithms to access decomposition algorithms.

See Also:
LUDecompositionI, SVDecompositionI

Method Summary
 DenseMatrix computeInverse()
          Computes the inverse of the original matrix from the components.
 MatrixI computeInverse(MatrixI results)
          Computes the inverse of the original matrix from the components.
 void decompose(MatrixI a)
          Decompose matrix into components.
 DenseVector solveEquations(VectorI rightHandSides)
          Use the components to solve the simultaneous equations in the original matrix.
 VectorI solveEquations(VectorI rightHandSides, VectorI results)
          Use the components to solve the simultaneous equations in the original matrix.
 

Method Detail

decompose

public void decompose(MatrixI a)
               throws AlgebraException,
                      SingularException
Decompose matrix into components.

solveEquations

public DenseVector solveEquations(VectorI rightHandSides)
                           throws AlgebraException
Use the components to solve the simultaneous equations in the original matrix.
Returns:
the solution vector.

solveEquations

public VectorI solveEquations(VectorI rightHandSides,
                              VectorI results)
                       throws AlgebraException
Use the components to solve the simultaneous equations in the original matrix.
Returns:
the solution vector.

computeInverse

public DenseMatrix computeInverse()
                           throws AlgebraException
Computes the inverse of the original matrix from the components.
Returns:
the inverse matrix.

computeInverse

public MatrixI computeInverse(MatrixI results)
                       throws AlgebraException
Computes the inverse of the original matrix from the components.
Returns:
the inverse matrix.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com