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

\( y = \sum_i x_i \) More...

Public Member Functions

template<class T1 , class ... Ts>
DG_DEVICE T1 operator() (T1 x, Ts... rest) const
 

Detailed Description

\( y = \sum_i x_i \)

Member Function Documentation

◆ operator()()

template<class T1 , class ... Ts>
DG_DEVICE T1 dg::Sum::operator() ( T1  x,
Ts...  rest 
) const
inline

\[ \sum_i x_i \]


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