|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcern.colt.matrix.tdouble.algo.solver.AbstractDoubleIterationMonitor
public abstract class AbstractDoubleIterationMonitor
Partial implementation of an iteration reporter
| Constructor Summary | |
|---|---|
AbstractDoubleIterationMonitor()
Constructor for AbstractIterationMonitor. |
|
| Method Summary | |
|---|---|
boolean |
converged(double r)
Checks for convergence |
boolean |
converged(double r,
DoubleMatrix1D x)
Checks for convergence |
boolean |
converged(DoubleMatrix1D r)
Checks for convergence |
boolean |
converged(DoubleMatrix1D r,
DoubleMatrix1D x)
Checks for convergence |
DoubleIterationReporter |
getIterationReporter()
Returns current iteration reporter |
Norm |
getNormType()
Returns the vector-norm in use |
boolean |
isFirst()
Returns true for the first iteration |
int |
iterations()
Number of iterations performed |
void |
next()
Increases iteration counter |
double |
residual()
Returns current residual |
void |
setFirst()
Resets the iteration |
void |
setIterationReporter(DoubleIterationReporter monitor)
Sets new iteration reporter |
void |
setNormType(Norm normType)
Sets the vector-norm to calculate with |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cern.colt.matrix.tdouble.algo.solver.DoubleIterationMonitor |
|---|
getMaxIterations, setMaxIterations |
| Constructor Detail |
|---|
public AbstractDoubleIterationMonitor()
| Method Detail |
|---|
public void setFirst()
DoubleIterationMonitor
setFirst in interface DoubleIterationMonitorpublic boolean isFirst()
DoubleIterationMonitor
isFirst in interface DoubleIterationMonitorpublic void next()
DoubleIterationMonitor
next in interface DoubleIterationMonitorpublic int iterations()
DoubleIterationMonitor
iterations in interface DoubleIterationMonitor
public boolean converged(DoubleMatrix1D r,
DoubleMatrix1D x)
throws IterativeSolverDoubleNotConvergedException
DoubleIterationMonitor
converged in interface DoubleIterationMonitorr - Residual-vectorx - State-vector
IterativeSolverDoubleNotConvergedException
public boolean converged(double r,
DoubleMatrix1D x)
throws IterativeSolverDoubleNotConvergedException
DoubleIterationMonitor
converged in interface DoubleIterationMonitorr - Residual-normx - State-vector
IterativeSolverDoubleNotConvergedException
public boolean converged(double r)
throws IterativeSolverDoubleNotConvergedException
DoubleIterationMonitor
converged in interface DoubleIterationMonitorr - Residual-norm
IterativeSolverDoubleNotConvergedException
public boolean converged(DoubleMatrix1D r)
throws IterativeSolverDoubleNotConvergedException
DoubleIterationMonitor
converged in interface DoubleIterationMonitorr - Residual-vector
IterativeSolverDoubleNotConvergedExceptionpublic Norm getNormType()
DoubleIterationMonitor
getNormType in interface DoubleIterationMonitorpublic void setNormType(Norm normType)
DoubleIterationMonitor
setNormType in interface DoubleIterationMonitorpublic DoubleIterationReporter getIterationReporter()
DoubleIterationMonitor
getIterationReporter in interface DoubleIterationMonitorpublic void setIterationReporter(DoubleIterationReporter monitor)
DoubleIterationMonitor
setIterationReporter in interface DoubleIterationMonitorpublic double residual()
DoubleIterationMonitor
residual in interface DoubleIterationMonitor
|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||