HCL_CG_d implements the (unpreconditioned) conjugate gradients algorithm for solving a linear operator equation with a symmetric positive definite operator
HCL_CG_d ( char *fname = NULL, HCL_Recorder_d * rec = NULL) Constructor | |
Table& | Parameters () const Access to parameter table |
virtual int | Solve ( const HCL_LinearOp_d & A, const HCL_Vector_d & b, HCL_Vector_d & x ) const Solve (approximately) the equation Ax=b for x |
virtual ostream& | Write ( ostream & str ) const Prints description of the object |
HCL_CG_d implements the (unpreconditioned) conjugate gradients algorithm for solving a linear operator equation with a symmetric positive definite operator. By passing an (optional pointer to an) HCL_Recorder_d object, the user can record all of the intermediate estimates of the solution generated during the iteration.
Default = 0
b - RHS vector
x - Initially, this must be a starting vector for the
iteration. On exit, this contains the approximate solution
Default = 1.0e-3
Default = 100
0 - No output
1 - One-line summary output
2 - Detailed header and footer with timing information
3 - Per-iteration information
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de