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

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

Public Member Functions

template<class T1 , class ... Ts>
DG_DEVICE T1 operator() (T1 a, T1 x1, T1 y1, Ts... rest) const
 

Detailed Description

\( y = \sum_i a_i x_i y_i \)

Member Function Documentation

◆ operator()()

template<class T1 , class ... Ts>
DG_DEVICE T1 dg::TripletSum::operator() ( T1  a,
T1  x1,
T1  y1,
Ts...  rest 
) const
inline

\[ \sum_i \alpha_i x_i y_i \]


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