#ifndef FUNCTIONS_H #define FUNCTIONS_H #include #include namespace D1ToD1 { std::function PiecewiseLinear(std::vector positions, std::vector values); std::function Constant(double constant); std::function Product( std::vector> functions); std::function Exponential(double prefactor, double scale); }; // namespace D1ToD1 namespace D3ToD1 { std::function Constant(double value); std::function Product( std::function fi, std::function fj, std::function fk); }; // namespace D3ToD1 #endif /* FUNCTIONS_H */