|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uib.cipr.matrix.sparse.OutputIterationReporter
public class OutputIterationReporter
Outputs iteration information to an output stream.
Constructor Summary | |
---|---|
OutputIterationReporter()
Constructor for OutputIterationReporter, using System.err . |
|
OutputIterationReporter(java.io.OutputStream out)
Constructor for OutputIterationReporter |
Method Summary | |
---|---|
void |
monitor(double r,
int i)
Registers current information |
void |
monitor(double r,
Vector x,
int i)
Registers current information |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputIterationReporter(java.io.OutputStream out)
out
- Writes iteration count and current residual herepublic OutputIterationReporter()
System.err
.
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |