|
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.tfloat.algo.solver.AbstractFloatIterationMonitor
public abstract class AbstractFloatIterationMonitor
Partial implementation of an iteration reporter
| Constructor Summary | |
|---|---|
AbstractFloatIterationMonitor()
Constructor for AbstractIterationMonitor. |
|
| Method Summary | |
|---|---|
boolean |
converged(float r)
Checks for convergence |
boolean |
converged(float r,
FloatMatrix1D x)
Checks for convergence |
boolean |
converged(FloatMatrix1D r)
Checks for convergence |
boolean |
converged(FloatMatrix1D r,
FloatMatrix1D x)
Checks for convergence |
FloatIterationReporter |
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 |
float |
residual()
Returns current residual |
void |
setFirst()
Resets the iteration |
void |
setIterationReporter(FloatIterationReporter 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.tfloat.algo.solver.FloatIterationMonitor |
|---|
getMaxIterations, setMaxIterations |
| Constructor Detail |
|---|
public AbstractFloatIterationMonitor()
| Method Detail |
|---|
public void setFirst()
FloatIterationMonitor
setFirst in interface FloatIterationMonitorpublic boolean isFirst()
FloatIterationMonitor
isFirst in interface FloatIterationMonitorpublic void next()
FloatIterationMonitor
next in interface FloatIterationMonitorpublic int iterations()
FloatIterationMonitor
iterations in interface FloatIterationMonitor
public boolean converged(FloatMatrix1D r,
FloatMatrix1D x)
throws IterativeSolverFloatNotConvergedException
FloatIterationMonitor
converged in interface FloatIterationMonitorr - Residual-vectorx - State-vector
IterativeSolverFloatNotConvergedException
public boolean converged(float r,
FloatMatrix1D x)
throws IterativeSolverFloatNotConvergedException
FloatIterationMonitor
converged in interface FloatIterationMonitorr - Residual-normx - State-vector
IterativeSolverFloatNotConvergedException
public boolean converged(float r)
throws IterativeSolverFloatNotConvergedException
FloatIterationMonitor
converged in interface FloatIterationMonitorr - Residual-norm
IterativeSolverFloatNotConvergedException
public boolean converged(FloatMatrix1D r)
throws IterativeSolverFloatNotConvergedException
FloatIterationMonitor
converged in interface FloatIterationMonitorr - Residual-vector
IterativeSolverFloatNotConvergedExceptionpublic Norm getNormType()
FloatIterationMonitor
getNormType in interface FloatIterationMonitorpublic void setNormType(Norm normType)
FloatIterationMonitor
setNormType in interface FloatIterationMonitorpublic FloatIterationReporter getIterationReporter()
FloatIterationMonitor
getIterationReporter in interface FloatIterationMonitorpublic void setIterationReporter(FloatIterationReporter monitor)
FloatIterationMonitor
setIterationReporter in interface FloatIterationMonitorpublic float residual()
FloatIterationMonitor
residual in interface FloatIterationMonitor
|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||