RFFGen
 All Classes Namespaces Files Functions Typedefs Enumerations Groups
Public Member Functions | List of all members
RFFGen::MathematicalOperations::Scale< F, class > Struct Template Reference

Scaling $ af $ of some function $ f $ with a double $ a $ (F must satisfy the requirements of Concepts::FunctionConcept). More...

#include <scale.hh>

Inheritance diagram for RFFGen::MathematicalOperations::Scale< F, class >:
RFFGen::Base

Public Member Functions

 Scale ()=default
 Default constructor. May leave member variables uninitialized! Call update before using evaluation.
 
template<class InitF >
 Scale (double a_, const InitF &f_)
 Constructor passing arguments to function constructor. More...
 
template<class Arg >
void update (Arg const &arg)
 Reset point of evaluation.
 
template<int index, class Arg >
void updateVariable (const Arg &x)
 Propagate call to updateVariable() to f.
 
const auto & d0 () const noexcept
 Function value.
 
template<int idx, class Arg , class IndexedArg = IndexedType<Arg,idx>, class = std::enable_if_t< D1<F,IndexedArg>::present>>
auto d1 (Arg const &dx) const
 First directional derivative. More...
 
template<int idx, int idy, class ArgX , class ArgY , class IndexedArgX = IndexedType<ArgX,idx>, class IndexedArgY = IndexedType<ArgY,idy>, class = std::enable_if_t< D2<F,IndexedArgX,IndexedArgY>::present>>
auto d2 (ArgX const &dx, ArgY const &dy) const
 Second directional derivative. More...
 
template<int idx, int idy, int idz, class ArgX , class ArgY , class ArgZ , class IndexedArgX = IndexedType<ArgX,idx>, class IndexedArgY = IndexedType<ArgY,idy>, class IndexedArgZ = IndexedType<ArgZ,idz>, class = std::enable_if_t< D3<F,IndexedArgX,IndexedArgY,IndexedArgZ>::present >>
auto d3 (ArgX const &dx, ArgY const &dy, ArgZ const &dz) const
 Third directional derivative. More...
 
- Public Member Functions inherited from RFFGen::Base
template<class Arg >
void update (const Arg &)
 Update on changed input.
 
template<int id, class Arg >
void updateVariable (const Arg &)
 Empty variables.
 

Detailed Description

template<class F, class = FunctionConceptCheck<F>>
struct RFFGen::MathematicalOperations::Scale< F, class >

Scaling $ af $ of some function $ f $ with a double $ a $ (F must satisfy the requirements of Concepts::FunctionConcept).

Constructor & Destructor Documentation

template<class F , class = FunctionConceptCheck<F>>
template<class InitF >
RFFGen::MathematicalOperations::Scale< F, class >::Scale ( double  a_,
const InitF &  f_ 
)
inline

Constructor passing arguments to function constructor.

Parameters
a_scaling
f_input for constructor of outer function

Member Function Documentation

template<class F , class = FunctionConceptCheck<F>>
template<int idx, class Arg , class IndexedArg = IndexedType<Arg,idx>, class = std::enable_if_t< D1<F,IndexedArg>::present>>
auto RFFGen::MathematicalOperations::Scale< F, class >::d1 ( Arg const &  dx) const
inline

First directional derivative.

Parameters
dxdirection for which the derivative is computed
template<class F , class = FunctionConceptCheck<F>>
template<int idx, int idy, class ArgX , class ArgY , class IndexedArgX = IndexedType<ArgX,idx>, class IndexedArgY = IndexedType<ArgY,idy>, class = std::enable_if_t< D2<F,IndexedArgX,IndexedArgY>::present>>
auto RFFGen::MathematicalOperations::Scale< F, class >::d2 ( ArgX const &  dx,
ArgY const &  dy 
) const
inline

Second directional derivative.

Parameters
dxdirection for which the derivative is computed
dydirection for which the derivative is computed
template<class F , class = FunctionConceptCheck<F>>
template<int idx, int idy, int idz, class ArgX , class ArgY , class ArgZ , class IndexedArgX = IndexedType<ArgX,idx>, class IndexedArgY = IndexedType<ArgY,idy>, class IndexedArgZ = IndexedType<ArgZ,idz>, class = std::enable_if_t< D3<F,IndexedArgX,IndexedArgY,IndexedArgZ>::present >>
auto RFFGen::MathematicalOperations::Scale< F, class >::d3 ( ArgX const &  dx,
ArgY const &  dy,
ArgZ const &  dz 
) const
inline

Third directional derivative.

Parameters
dxdirection for which the derivative is computed
dydirection for which the derivative is computed
dzdirection for which the derivative is computed

The documentation for this struct was generated from the following file: