|
Discontinuous Galerkin Library
#include "dg/algorithm.h"
|
Functions | |
| template<class UnaryOp , class Functor > | |
| auto | dg::compose (UnaryOp f, Functor g) |
| Create Composition functor \( f(g(x_0,x_1,...)) \). | |
| template<class UnaryOp , typename... Functors> | |
| auto | dg::compose (UnaryOp f0, Functors... fs) |
| Create Composition funtor of an arbitrary number of functions \( f_0(f_1(f_2( ... f_s(x_0, x_1, ...)))\). | |
| auto dg::compose | ( | UnaryOp | f, |
| Functor | g ) |
Create Composition functor \( f(g(x_0,x_1,...)) \).
| UnaryOp | Model of Unary Function taking the return type of g return_type_f f(return_type_g) |
| Functor | Inner functor, takes an arbitrary number of parameters and returns one return_type_g g(value_type0,value_type1,...) |
| f | outer functor |
| g | inner functor |
| auto dg::compose | ( | UnaryOp | f0, |
| Functors... | fs ) |
Create Composition funtor of an arbitrary number of functions \( f_0(f_1(f_2( ... f_s(x_0, x_1, ...)))\).
| UnaryOp | Model of Unary Function taking the return type of f_1 return_type_f0 f0(return_type_f1) |
| Fs | UnaryOps except the innermost functor, which takes an arbitrary number of parameters and returns one return_type_fs f_s(value_type0,value_type1,...) |