public static interface ConjugateGradient.Preconditioner extends ConjugateGradient.Function
ConjugateGradient
used for preconditioning.Modifier and Type | Method and Description |
---|---|
void |
preconditioner(double[] r,
double[] z)
Used to compute \(z = M^{-1}r \) where M is the
preconditioning matrix and r and z are arrays of length
n ,
the order of matrix M. |
amultp
void preconditioner(double[] r, double[] z)
n
,
the order of matrix M.r
- an input double
array of length n
generated during the implementation of the solve
method.z
- an output double
array of length n
.Copyright © 2020 Rogue Wave Software. All rights reserved.