OOF2: The Manual
CG (ConjugateGradient) — Conjugate Gradient method for iteratively solving symmetric matrices.
- Black magic for making the matrix more easily solvable. Type: An object of the
- Largest acceptable relative error in the matrix solution. Type: A real number.
- Maximum number of iterations to perform. Type: Integer.
CG is an iterative method, meaning that it
creates an approximate solution and improves it on each iteration.
The iteration will cease when the relative error of the solution is
less than the given
tolerance. The solver will
stop and report an error if the tolerance isn't satisfied within
preconditioner parameter specifies which
Preconditioner to use, if any.
speed the convergence of iterative methods by replacing the original
matrix by something closer to the identity matrix.