SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse.solver.iterative
Class NullMonitor

java.lang.Object
  extended by com.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse.solver.iterative.NullMonitor
All Implemented Interfaces:
IterationMonitor

public class NullMonitor
extends java.lang.Object
implements IterationMonitor

This IterationMonitor does nothing when a new iterate is added via IterationMonitor.addIterate(com.numericalmethod.suanshu.vector.doubles.Vector).


Constructor Summary
NullMonitor()
           
 
Method Summary
 void addIterate(Vector x)
          Add a newly computed iterate to this monitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullMonitor

public NullMonitor()
Method Detail

addIterate

public void addIterate(Vector x)
Description copied from interface: IterationMonitor
Add a newly computed iterate to this monitor. This should also be called with the initial guess of solution.

Specified by:
addIterate in interface IterationMonitor
Parameters:
x - the new iterate

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.