Discontinuous Galerkin Library
#include "dg/algorithm.h"

\( y\leftarrow ax+by \) More...

Public Member Functions

 Axpby (T a, T b)
 
DG_DEVICE void operator() (T x, T &y) const
 

Detailed Description

template<class T>
struct dg::Axpby< T >

\( y\leftarrow ax+by \)

Constructor & Destructor Documentation

◆ Axpby()

template<class T >
dg::Axpby< T >::Axpby ( a,
b 
)
inline

Member Function Documentation

◆ operator()()

template<class T >
DG_DEVICE void dg::Axpby< T >::operator() ( x,
T &  y 
) const
inline

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