Package com.imsl.math
Interface GenMinRes.Preconditioner
- All Superinterfaces:
GenMinRes.Function
- All Known Implementing Classes:
GenMinResEx4,GenMinResEx6
- Enclosing class:
- GenMinRes
Public interface for the user supplied function to
GenMinRes used for preconditioning.-
Method Summary
Modifier and TypeMethodDescriptionvoidpreconditioner(double[] r, double[] z) Used to compute \(z = M^{-1}r \) where M is the preconditioning matrix and r and z are arrays of lengthn, the order of matrix M.Methods inherited from interface com.imsl.math.GenMinRes.Function
amultp
-
Method Details
-
preconditioner
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 lengthn, the order of matrix M.- Parameters:
r- an inputdoublearray of lengthngenerated during the implementation of thesolvemethod.z- an outputdoublearray of lengthn.
-