maspack.solvers
Interface IterativeSolver

All Known Implementing Classes:
CGSolver, CRSolver

public interface IterativeSolver


Nested Class Summary
static class IterativeSolver.ToleranceType
           
 
Method Summary
 int getMaxIterations()
           
 int getNumIterations()
           
 double getRelativeResidual()
           
 double getTolerance()
           
 IterativeSolver.ToleranceType getToleranceType()
           
 boolean isCompatible(int matrixType)
           
 void setMaxIterations(int max)
           
 void setTolerance(double tol)
           
 void setToleranceType(IterativeSolver.ToleranceType type)
           
 boolean solve(VectorNd x, LinearTransformNd A, VectorNd b)
           
 

Method Detail

getTolerance

double getTolerance()

setTolerance

void setTolerance(double tol)

getToleranceType

IterativeSolver.ToleranceType getToleranceType()

setToleranceType

void setToleranceType(IterativeSolver.ToleranceType type)

getMaxIterations

int getMaxIterations()

setMaxIterations

void setMaxIterations(int max)

getNumIterations

int getNumIterations()

solve

boolean solve(VectorNd x,
              LinearTransformNd A,
              VectorNd b)

getRelativeResidual

double getRelativeResidual()

isCompatible

boolean isCompatible(int matrixType)