Class IdentityPreconditioner
java.lang.Object
org.ojalgo.matrix.task.iterative.IdentityPreconditioner
- All Implemented Interfaces:
Preconditioner
Identity (no-op) preconditioner.
Characteristics and usage
- Works with any iterative method and serves as a baseline when no preconditioning is desired.
- Safe choice for methods that require symmetry/positive-definiteness of the preconditioner.
- Often used to measure the effect of adding a non-trivial preconditioner.
-
Field Summary
Fields inherited from interface Preconditioner
IDENTITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Preconditioner
applyTranspose
-
Constructor Details
-
IdentityPreconditioner
IdentityPreconditioner()
-
-
Method Details
-
apply
Description copied from interface:PreconditionerApply M^{-1} to a vector. src and dst may alias.- Specified by:
applyin interfacePreconditioner
-
prepare
Description copied from interface:PreconditionerPrepare internal structures for a specific system. Implementations may analyse sparsity or extract diagonals/factors here.- Specified by:
preparein interfacePreconditioner- Parameters:
equations- The active set of rows constituting the system body.dimension- The vector dimension (number of variables / size of solution vector).
-