#include "matrix.hpp"
#include "precond.hpp"
Go to the source code of this file.
Defines | |
| #define | BICGSTAB_HPP 1 |
Functions | |
| bool | bicgstab (const Matrix &mat, const Vector &rhs, Vector &sol, const Precond &pc, uint32_t &imax, double &eps) |
| BiCGSTAB linear matrix equation solver. | |
| #define BICGSTAB_HPP 1 |
| 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.
| 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 |
1.4.7