remora::cg_solver< MatA > Class Template Reference

#include <shark/LinAlg/BLAS/decompositions.hpp>

+ Inheritance diagram for remora::cg_solver< MatA >:

Public Member Functions

 cg_solver (matrix_closure_type const &e, double epsilon=1.e-10, unsigned int max_iterations=0)
 
template<class MatB >
void solve (matrix_expression< MatB, device_type > &B, left, double epsilon, unsigned max_iterations) const
 
template<class MatB >
void solve (matrix_expression< MatB, device_type > &B, right, double epsilon, unsigned max_iterations) const
 
template<class VecB , bool Left>
void solve (vector_expression< VecB, device_type > &b, system_tag< Left >, double epsilon, unsigned max_iterations) const
 
template<class VecB , bool Left>
void solve (vector_expression< VecB, device_type > &b, system_tag< Left > tag) const
 
template<class MatB , bool Left>
void solve (matrix_expression< MatB, device_type > &B, system_tag< Left > tag) const
 

Detailed Description

template<class MatA>
class remora::cg_solver< MatA >

Definition at line 417 of file decompositions.hpp.

Constructor & Destructor Documentation

◆ cg_solver()

template<class MatA>
remora::cg_solver< MatA >::cg_solver ( matrix_closure_type const &  e,
double  epsilon = 1.e-10,
unsigned int  max_iterations = 0 
)
inline

Definition at line 421 of file decompositions.hpp.

Member Function Documentation

◆ solve() [1/5]

template<class MatA>
template<class MatB >
void remora::cg_solver< MatA >::solve ( matrix_expression< MatB, device_type > &  B,
left  ,
double  epsilon,
unsigned  max_iterations 
) const
inline

Definition at line 425 of file decompositions.hpp.

References remora::noalias().

◆ solve() [2/5]

template<class MatA>
template<class MatB >
void remora::cg_solver< MatA >::solve ( matrix_expression< MatB, device_type > &  B,
right  ,
double  epsilon,
unsigned  max_iterations 
) const
inline

Definition at line 434 of file decompositions.hpp.

References remora::noalias(), and remora::trans().

◆ solve() [3/5]

template<class MatA>
template<class VecB , bool Left>
void remora::cg_solver< MatA >::solve ( vector_expression< VecB, device_type > &  b,
system_tag< Left >  ,
double  epsilon,
unsigned  max_iterations 
) const
inline

Definition at line 444 of file decompositions.hpp.

References remora::noalias().

◆ solve() [4/5]

template<class MatA>
template<class VecB , bool Left>
void remora::cg_solver< MatA >::solve ( vector_expression< VecB, device_type > &  b,
system_tag< Left >  tag 
) const
inline

Definition at line 454 of file decompositions.hpp.

References remora::solve().

◆ solve() [5/5]

template<class MatA>
template<class MatB , bool Left>
void remora::cg_solver< MatA >::solve ( matrix_expression< MatB, device_type > &  B,
system_tag< Left >  tag 
) const
inline

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