Loading [MathJax]/jax/output/HTML-CSS/config.js
1.7.3
Geostatistics & Machine Learning toolbox | https://gstlearn.org
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LinearOpCGSolver< TLinOP > Class Template Reference

#include <LinearOpCGSolver.hpp>

Inheritance diagram for LinearOpCGSolver< TLinOP >:
ALinearOpCGSolver

Public Member Functions

 LinearOpCGSolver (const TLinOP *linop)
 
virtual ~LinearOpCGSolver ()=default
 
void solve (const VectorDouble &rhs, VectorDouble &out) override
 
void setMaxIterations (int n) override
 
void setTolerance (double tol) override
 
int getIterations () const override
 
double getError () const override
 
void solve (const constvect in, const vect out) override
 
void solve (const Eigen::Map< const Eigen::VectorXd > &rhs, Eigen::Map< Eigen::VectorXd > &out) override
 
void solveWithGuess (const constvect rhs, const constvect guess, vect out) override
 
void solveWithGuess (const Eigen::Map< const Eigen::VectorXd > &rhs, const Eigen::Map< const Eigen::VectorXd > &guess, Eigen::Map< Eigen::VectorXd > &out) override
 
- Public Member Functions inherited from ALinearOpCGSolver
virtual ~ALinearOpCGSolver ()=default
 

Constructor & Destructor Documentation

◆ LinearOpCGSolver()

template<typename TLinOP >
LinearOpCGSolver< TLinOP >::LinearOpCGSolver ( const TLinOP *  linop)

◆ ~LinearOpCGSolver()

template<typename TLinOP >
virtual LinearOpCGSolver< TLinOP >::~LinearOpCGSolver ( )
virtualdefault

Member Function Documentation

◆ getError()

template<typename TLinOP >
double LinearOpCGSolver< TLinOP >::getError ( ) const
inlineoverridevirtual

Implements ALinearOpCGSolver.

◆ getIterations()

template<typename TLinOP >
int LinearOpCGSolver< TLinOP >::getIterations ( ) const
inlineoverridevirtual

Implements ALinearOpCGSolver.

◆ setMaxIterations()

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::setMaxIterations ( int  n)
inlineoverridevirtual

Implements ALinearOpCGSolver.

◆ setTolerance()

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::setTolerance ( double  tol)
inlineoverridevirtual

Implements ALinearOpCGSolver.

◆ solve() [1/3]

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::solve ( const constvect  in,
const vect  out 
)
overridevirtual

Implements ALinearOpCGSolver.

◆ solve() [2/3]

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::solve ( const Eigen::Map< const Eigen::VectorXd > &  rhs,
Eigen::Map< Eigen::VectorXd > &  out 
)
overridevirtual

Implements ALinearOpCGSolver.

◆ solve() [3/3]

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::solve ( const VectorDouble rhs,
VectorDouble out 
)
overridevirtual

Implements ALinearOpCGSolver.

◆ solveWithGuess() [1/2]

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::solveWithGuess ( const constvect  rhs,
const constvect  guess,
vect  out 
)
overridevirtual

Implements ALinearOpCGSolver.

◆ solveWithGuess() [2/2]

template<typename TLinOP >
void LinearOpCGSolver< TLinOP >::solveWithGuess ( const Eigen::Map< const Eigen::VectorXd > &  rhs,
const Eigen::Map< const Eigen::VectorXd > &  guess,
Eigen::Map< Eigen::VectorXd > &  out 
)
overridevirtual

Implements ALinearOpCGSolver.


The documentation for this class was generated from the following file: