Package no.uib.cipr.matrix.sparse
Class OutputIterationReporter
java.lang.Object
no.uib.cipr.matrix.sparse.OutputIterationReporter
- All Implemented Interfaces:
IterationReporter
Outputs iteration information to an output stream.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for OutputIterationReporter, usingSystem.err
.Constructor for OutputIterationReporter -
Method Summary
-
Constructor Details
-
OutputIterationReporter
Constructor for OutputIterationReporter- Parameters:
out
- Writes iteration count and current residual here
-
OutputIterationReporter
public OutputIterationReporter()Constructor for OutputIterationReporter, usingSystem.err
.
-
-
Method Details
-
monitor
public void monitor(double r, int i) Description copied from interface:IterationReporter
Registers current information- Specified by:
monitor
in interfaceIterationReporter
- Parameters:
r
- Current residual normi
- Current iteration number
-
monitor
Description copied from interface:IterationReporter
Registers current information- Specified by:
monitor
in interfaceIterationReporter
- Parameters:
r
- Current residual normx
- Current state vectori
- Current iteration number
-