#include <jet/blas.h>
#include "detail/cg-inl.h"
Go to the source code of this file.
|
template<typename BlasType > |
void | jet::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 | jet::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...
|
|