MADNESS 0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R > Struct Template Reference

functor for the gaxpy_inplace method More...

#include <funcimpl.h>

Public Types

typedef Range< typename FunctionImpl< Q, NDIM >::dcT::const_iteratorrangeT
 

Public Member Functions

 do_gaxpy_inplace ()=default
 
 do_gaxpy_inplace (FunctionImpl< T, NDIM > *f, T alpha, R beta)
 
bool operator() (typename rangeT::iterator &it) const
 
template<typename Archive >
void serialize (Archive &ar)
 

Public Attributes

T alpha
 the current function impl
 
R beta
 prefactor for other function impl
 
FunctionImpl< T, NDIM > * f
 prefactor for current function impl
 

Detailed Description

template<typename T, std::size_t NDIM>
template<typename Q, typename R>
struct madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >

functor for the gaxpy_inplace method

Member Typedef Documentation

◆ rangeT

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
typedef Range<typename FunctionImpl<Q,NDIM>::dcT::const_iterator> madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::rangeT

Constructor & Destructor Documentation

◆ do_gaxpy_inplace() [1/2]

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::do_gaxpy_inplace ( )
default

◆ do_gaxpy_inplace() [2/2]

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::do_gaxpy_inplace ( FunctionImpl< T, NDIM > *  f,
T  alpha,
R  beta 
)
inline

Member Function Documentation

◆ operator()()

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
bool madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::operator() ( typename rangeT::iterator &  it) const
inline

◆ serialize()

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
template<typename Archive >
void madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::serialize ( Archive &  ar)
inline

Member Data Documentation

◆ alpha

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
T madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::alpha

◆ beta

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
R madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::beta

◆ f

template<typename T , std::size_t NDIM>
template<typename Q , typename R >
FunctionImpl<T,NDIM>* madness::FunctionImpl< T, NDIM >::do_gaxpy_inplace< Q, R >::f

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