bicgstab.hpp File Reference
Stabilized Biconjugate Gradient solver. More...
#include "matrix.hpp"#include "precond.hpp"Go to the source code of this file.
| Functions | |
| bool | bicgstab (const Matrix &mat, const Vector &rhs, Vector &sol, const Precond &pc, uint32_t &imax, double &eps) | 
| BiCGSTAB linear matrix equation solver. | |
Detailed Description
Stabilized Biconjugate Gradient solver.
Function Documentation
| bool bicgstab | ( | const Matrix & | mat, | |
| const Vector & | rhs, | |||
| Vector & | sol, | |||
| const Precond & | pc, | |||
| uint32_t & | imax, | |||
| double & | eps | |||
| ) | 
BiCGSTAB linear matrix equation solver.
Solves linear matrix equations of form A*X=B.
- Returns:
- True on success, false on errors
- Parameters:
- 
  mat Matrix on the linear equation rhs Right hand side vector on the linear equation sol Solution vector on the linear equation pc Preconditioner used by the iterator imax Maximum number of iterations to be done in input, number of iterations actually done on output eps Accuracy request for iteration on input, estimated error achieved on output 
