3#ifndef DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH
4#define DUNE_FUNCTIONS_ANALYTICFUNCTIONS_TRIGONOMETRICFUNCTION_HH
25template<
class K,
int sinFactor,
int cosFactor>
32 return sinFactor * std::sin(x) + cosFactor * std::cos(x);
38template<
class K,
int sinFactor,
int cosFactor>
TrigonometricFunction< K, -cosFactor, sinFactor > derivative(const TrigonometricFunction< K, sinFactor, cosFactor > &f)
Obtain derivative of TrigonometricFunction function.
Definition: trigonometricfunction.hh:39
Definition: polynomial.hh:10
A linear combination of trigonomic functions.
Definition: trigonometricfunction.hh:27
K operator()(const K &x) const
Evaluate function.
Definition: trigonometricfunction.hh:30