IterativeLinearSolver.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| public | IterativeLinearSolverEvent(final Object
the iterative algorithm on which the event initially
occurred source, final int the number of iterations performed at the time
iterations)this event is createdCreates a new instance of this class. |
| Modifier and Type | Method and Description |
|---|---|
| public abstract double | |
| public RealVector | |
| public abstract RealVector | Returns: the right-hand side vector, bReturns the current right-hand side of the linear system to be solved. |
| public abstract RealVector | Returns: the solution, xReturns the current estimate of the solution to the linear system to be solved. |
| public boolean |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serialization identifier. | |
| IterativeLinearSolverEvent | back to summary |
|---|---|
| public IterativeLinearSolverEvent(final Object source, final int iterations) Creates a new instance of this class.
| |
| getNormOfResidual | back to summary |
|---|---|
| public abstract double getNormOfResidual() Returns the norm of the residual. The returned value is not required to
be exact. Instead, the norm of the so-called updated
residual (if available) should be returned. For example, the
| |
| getResidual | back to summary |
|---|---|
| public RealVector getResidual() Returns the residual. This is an optional operation, as all iterative linear solvers do not provide cheap estimate of the updated residual vector, in which case
The default implementation throws a
| |
| getRightHandSideVector | back to summary |
|---|---|
| public abstract RealVector getRightHandSideVector() Returns the current right-hand side of the linear system to be solved.
This method should return an unmodifiable view, or a deep copy of the
actual right-hand side vector, in order not to compromise subsequent
iterations of the source
| |
| getSolution | back to summary |
|---|---|
| public abstract RealVector getSolution() Returns the current estimate of the solution to the linear system to be
solved. This method should return an unmodifiable view, or a deep copy of
the actual current solution, in order not to compromise subsequent
iterations of the source
| |
| providesResidual | back to summary |
|---|---|
| public boolean providesResidual() Returns
| |