DUNE-FUNCTIONS (2.9)
Dune::Functions::DifferentiableFunctionFromCallables< Range(Domain), DerivativeTraits, F > Class Template Reference
Wrap a list of callable objects as derivative sequence modelling Concept::DifferentiableFunction<Range(Domain), DerivativeTraits> More...
#include <dune/functions/common/differentiablefunctionfromcallables.hh>
Public Types | |
using | Signature = Range(Domain) |
Signature of function. | |
using | DerivativeSignature = typename DerivativeTraits< RawSignature >::Range(Domain) |
Signature of derivative. | |
using | Derivative = DifferentiableFunction< DerivativeSignature, DerivativeTraits > |
Type of derivative. | |
Friends | |
Derivative | derivative (const DifferentiableFunctionFromCallables &t) |
Get derivative of DifferentiableFunctionFromCallables. | |
Detailed Description
template<class Range, class Domain, template< class > class DerivativeTraits, class F>
class Dune::Functions::DifferentiableFunctionFromCallables< Range(Domain), DerivativeTraits, F >
class Dune::Functions::DifferentiableFunctionFromCallables< Range(Domain), DerivativeTraits, F >
Wrap a list of callable objects as derivative sequence modelling Concept::DifferentiableFunction<Range(Domain), DerivativeTraits>
- Template Parameters
-
Range Range type of function Domain Domain type of function
You can use this to implement a differentiable function including a variable number of derivatives using callable objects.
This models the Concept::DifferentiableFunction<Range(Domain), DerivativeTraits> concept.
Note that using makeDifferentiableFunction will be less verbose than creating this wrapper manually.
The documentation for this class was generated from the following file:
- dune/functions/common/differentiablefunctionfromcallables.hh
