org.jutil.math.matrix
Class LULinSolver

java.lang.Object
  |
  +--org.jutil.math.matrix.AbstractSolver
        |
        +--org.jutil.math.matrix.LULinSolver
All Implemented Interfaces:
LinSolver

public class LULinSolver
extends AbstractSolver
implements LinSolver

A class of objects that solve linear systems of equations represented as a matrix using the LU decomposition of that matrix.


Field Summary
static java.lang.String CVS_REVISION
           
 
Constructor Summary
LULinSolver(LUDecomposer decomposer)
          Initialize a new LULinSolver with the given LUDecomposer.
 
Method Summary
 LUDecomposer getDecomposer()
          Return the LUDecomposer of this LULinSolver.
 Column solve(Matrix A, Column b)
          see superclass
 
Methods inherited from class org.jutil.math.matrix.AbstractSolver
backSubstitute, forwardSubstitute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
Constructor Detail

LULinSolver

public LULinSolver(LUDecomposer decomposer)
Initialize a new LULinSolver with the given LUDecomposer.

Parameters:
decomposer - The LUDecomposer to be used by this LULinSolver.

Specifications:
public behavior
requires decomposer != null;
ensures getDecomposer() == decomposer;
Method Detail

getDecomposer

public LUDecomposer getDecomposer()
Return the LUDecomposer of this LULinSolver.

solve

public Column solve(Matrix A,
                    Column b)
see superclass
Specifications inherited from overridden method in interface LinSolver:
public behavior
requires A != null;
requires b != null;
requires b.size() == A.getNbRows();
requires A.isSquare();
requires (* A is nonsingular *);
ensures (* A.times(\result).equals(b) *);