CG-Impl.h File Reference
#include <Core/Math/MathUtils.h>
Go to the source code of this file.
Namespaces | |
CubbyFlow | |
Functions | |
template<typename BLASType > | |
void | CubbyFlow::CG (const typename BLASType::MatrixType &A, const typename BLASType::VectorType &b, unsigned int maxNumberOfIterations, double tolerance, typename BLASType::VectorType *x, typename BLASType::VectorType *r, typename BLASType::VectorType *d, typename BLASType::VectorType *q, typename BLASType::VectorType *s, unsigned int *lastNumberOfIterations, double *lastResidualNorm) |
Solves conjugate gradient. More... | |
template<typename BLASType , typename PrecondType > | |
void | CubbyFlow::PCG (const typename BLASType::MatrixType &A, const typename BLASType::VectorType &b, unsigned int maxNumberOfIterations, double tolerance, PrecondType *M, typename BLASType::VectorType *x, typename BLASType::VectorType *r, typename BLASType::VectorType *d, typename BLASType::VectorType *q, typename BLASType::VectorType *s, unsigned int *lastNumberOfIterations, double *lastResidualNorm) |
Solves pre-conditioned conjugate gradient. More... | |