MADNESS 0.10.1
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_iterator > rangeT

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

References alpha, beta, and f.

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

the current function impl

Referenced by do_gaxpy_inplace(), operator()(), and serialize().

◆ beta

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

prefactor for other function impl

Referenced by do_gaxpy_inplace(), operator()(), and serialize().

◆ 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

prefactor for current function impl

Referenced by do_gaxpy_inplace(), operator()(), and serialize().


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