|
| Squared ()=default |
| Default constructor. May leave member variables uninitialized! Call update before using evaluation.
|
|
template<class InitF > |
| Squared (const InitF &f_) |
| Constructor passing arguments to function constructor. More...
|
|
template<class Arg > |
void | update (Arg const &x) |
| 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 id, class Arg , class IndexedArg = IndexedType<Arg,id>, class = std::enable_if_t< ComputeProduct< D0<F> , 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< D2Sum<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< D3Sum<IndexedArgX,IndexedArgY,IndexedArgZ>::present >> |
auto | d3 (ArgX const &dx, ArgY const &dy, ArgZ const &dz) const |
| Third directional derivative. More...
|
|
template<class Arg > |
void | update (const Arg &) |
| Update on changed input.
|
|
template<int id, class Arg > |
void | updateVariable (const Arg &) |
| Empty variables.
|
|
template<class F, class = FunctionConceptCheck<F>>
struct RFFGen::MathematicalOperations::Squared< F, class >
Squared function (F must satisfy the requirements of Concepts::FunctionConcept).
template<class F , class = FunctionConceptCheck<F>>
template<int id, class Arg , class IndexedArg = IndexedType<Arg,id>, class = std::enable_if_t< ComputeProduct< D0<F> , D1<F,IndexedArg> >::present >>
First directional derivative.
- Parameters
-
dx | direction 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< D2Sum<IndexedArgX,IndexedArgY>::present >>
Second directional derivative.
- Parameters
-
dx | direction for which the derivative is computed |
dy | direction 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< D3Sum<IndexedArgX,IndexedArgY,IndexedArgZ>::present >>
Third directional derivative.
- Parameters
-
dx | direction for which the derivative is computed |
dy | direction for which the derivative is computed |
dz | direction for which the derivative is computed |