CG Template Specializations module
Template specializations of the CG class.
| Specialization | Description |
|---|---|
| CG<LinearSystem<SparseMatrix<Scalar>, Vector<Scalar>>> | Iterative conjugate-gradient solver for sparse symmetric positive-definite systems. |
| CG<LinearSystem<Matrix<Scalar>, Vector<Scalar>>> | Iterative conjugate-gradient solver for dense symmetric positive-definite systems. |
| CG<PETSc:: | PETSc-backed conjugate-gradient solver for distributed systems. |
Classes
-
template<>class Rodin::Solver::CG<PETSc::Math::LinearSystem>
- Conjugate gradient solver for PETSc linear systems.
-
template<class Scalar>class Rodin::Solver::CG<Math::LinearSystem<Math::SparseMatrix<Scalar>, Math::Vector<Scalar>>>
- Conjugate gradient solver for symmetric positive definite sparse systems.
-
template<class Scalar>class Rodin::Solver::CG<Math::LinearSystem<Math::Matrix<Scalar>, Math::Vector<Scalar>>>
- Conjugate gradient solver for symmetric positive definite dense systems.