All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jam.solver.IterativeSolver

public interface interface IterativeSolver
extends Solver
Iterative Solver solves a problem A x - b = 0 for x.
Maybe we should have something like getGradient();
Maybe we should have something like getOperator() and getVector();
Some of these can be implemented in a very general fashion.


Method Index

 o getApproximation()
 o getIteration()
 o getNormResidual()
 o getRelativeNormResidual()
 o getResidual()

Methods

 o getApproximation
 public abstract Vector getApproximation()
Returns:
Vector current x (converges to the solution while iterating)
 o getResidual
 public abstract Vector getResidual()
Returns:
Vector current A x - b
 o getNormResidual
 public abstract float getNormResidual()
Returns:
float current |A x - b| ^2
 o getRelativeNormResidual
 public abstract float getRelativeNormResidual()
Returns:
float current (|A x - b| / |A x_0 - b|) ^2
 o getIteration
 public abstract int getIteration()
Returns:
int number of iterations

All Packages  Class Hierarchy  This Package  Previous  Next  Index