public class OutputIterationReporter extends java.lang.Object implements IterationReporter
Constructor and Description |
---|
OutputIterationReporter()
Constructor for OutputIterationReporter, using
System.err . |
OutputIterationReporter(java.io.OutputStream out)
Constructor for OutputIterationReporter
|
public OutputIterationReporter(java.io.OutputStream out)
out
- Writes iteration count and current residual herepublic OutputIterationReporter()
System.err
.public void monitor(double r, int i)
IterationReporter
monitor
in interface IterationReporter
r
- Current residual normi
- Current iteration numberpublic void monitor(double r, Vector x, int i)
IterationReporter
monitor
in interface IterationReporter
r
- Current residual normx
- Current state vectori
- Current iteration number