|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.apache.commons.math3.util.IterationEvent
org.apache.commons.math3.linear.IterativeLinearSolverEvent
org.apache.commons.math3.linear.SymmLQ.SymmLQEvent
private static class SymmLQ.SymmLQEvent
The type of all events fired by this implementation of the SYMMLQ method.
Field Summary | |
---|---|
private static long |
serialVersionUID
Identifier. |
private SymmLQ.State |
state
A reference to the state of this solver. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SymmLQ.SymmLQEvent(SymmLQ source,
SymmLQ.State state)
Creates a new instance of this class. |
Method Summary | |
---|---|
int |
getIterations()
Returns the number of iterations performed at the time this event
is created. |
double |
getNormOfResidual()
Returns the norm of the residual. |
RealVector |
getRightHandSideVector()
Returns the current right-hand side of the linear system to be solved. |
RealVector |
getSolution()
Returns the current estimate of the solution to the linear system to be solved. |
Methods inherited from class org.apache.commons.math3.linear.IterativeLinearSolverEvent |
---|
getResidual, providesResidual |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final transient SymmLQ.State state
Constructor Detail |
---|
public SymmLQ.SymmLQEvent(SymmLQ source, SymmLQ.State state)
source
- the iterative algorithm on which the event initially
occurredstate
- the state of this solver at the time of creationMethod Detail |
---|
public int getIterations()
this
event
is created.
getIterations
in class IterationEvent
public double getNormOfResidual()
conjugate gradient
method computes a sequence
of residuals, the norm of which is cheap to compute. However, due to
accumulation of round-off errors, this residual might differ from the
true residual after some iterations. See e.g. A. Greenbaum and
Z. Strakos, Predicting the Behavior of Finite Precision Lanzos and
Conjugate Gradient Computations, Technical Report 538, Department of
Computer Science, New York University, 1991 (available
here).
getNormOfResidual
in class IterativeLinearSolverEvent
public RealVector getRightHandSideVector()
IterativeLinearSolver
.
getRightHandSideVector
in class IterativeLinearSolverEvent
public RealVector getSolution()
IterativeLinearSolver
.
getSolution
in class IterativeLinearSolverEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |