3#ifndef DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH
4#define DUNE_FUNCTIONS_COMMON_FUNCTION_FROM_CALLABLE_HH
6#include <dune/common/function.hh>
16template<
class Signature,
class F,
17 class FunctionInterface =
typename Dune::VirtualFunction<
18 typename SignatureTraits<Signature>::RawDomain,
19 typename SignatureTraits<Signature>::RawRange> >
37template<
class Range,
class Domain,
class F,
class FunctionInterface>
39 public FunctionInterface
Definition: polynomial.hh:10
Definition: functionfromcallable.hh:20
FunctionFromCallable(F &&f)
Create VirtualFunction from callable object.
Definition: functionfromcallable.hh:52
void evaluate(const Domain &x, Range &y) const
Evaluate function.
Definition: functionfromcallable.hh:73
FunctionFromCallable(const F &f)
Create VirtualFunction from callable object.
Definition: functionfromcallable.hh:64