1.4.0
CCC
 
LinearOpCGSolver< TLinOP > Class Template Reference

#include <LinearOpCGSolver.hpp>

Public Member Functions

 LinearOpCGSolver (const TLinOP *linop)
 
void solve (const VectorDouble &rhs, VectorDouble &out)
 
void solve (const VectorEigen &rhs, VectorEigen &out)
 
void setMaxIterations (int n)
 
void setTolerance (double tol)
 
int getIterations () const
 
double getError () const
 
void solve (const Eigen::Map< const Eigen::VectorXd > &rhs, Eigen::Map< Eigen::VectorXd > &out)
 
void solveWithGuess (const Eigen::VectorXd &rhs, const Eigen::VectorXd &guess, Eigen::VectorXd &out)
 

Constructor & Destructor Documentation

◆ LinearOpCGSolver()

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

Member Function Documentation

◆ getError()

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

◆ getIterations()

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

◆ setMaxIterations()

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

◆ setTolerance()

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

◆ solve() [1/3]

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

◆ solve() [2/3]

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

◆ solve() [3/3]

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

◆ solveWithGuess()

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

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