|
constexpr | Sum (const F &f_, const G &g_) |
| Constructor. More...
|
|
constexpr | Sum (F &&f_, const G &g_) |
| Constructor. More...
|
|
constexpr | Sum (const F &f_, G &&g_) |
| Constructor. More...
|
|
constexpr | Sum (F &&f_, G &&g_) |
| Constructor. More...
|
|
template<class InitF , class InitG > |
constexpr | Sum (InitF &&f_, InitG &&g_) requires(std |
| Constructor. More...
|
|
template<class Arg > |
void | update (Arg &&x) |
| Update point of evaluation.
|
|
template<int index, class Arg > |
void | update (Arg &&x) |
| Update variable corresponding to index.
|
|
template<class... IndexedArgs> |
void | bulk_update (IndexedArgs &&... args) |
|
template<int id, class Arg , class IndexedArg = IndexedType< std::decay_t< Arg >, id >> |
auto | d1 (Arg &&dx) const requires(ComputeSum< D1< F |
| First directional derivative.
|
|
template<int idx, int idy, class ArgX , class ArgY , class IndexedArgX = IndexedType< std::decay_t< ArgX >, idx >, class IndexedArgY = IndexedType< std::decay_t< ArgY >, idy >> |
auto | d2 (ArgX &&dx, ArgY &&dy) const requires(ComputeSum< D2< F |
| Second directional derivative.
|
|
template<int idx, int idy, int idz, class ArgX , class ArgY , class ArgZ , class IndexedArgX = IndexedType< std::decay_t< ArgX >, idx >, class IndexedArgY = IndexedType< std::decay_t< ArgY >, idy >, class IndexedArgZ = IndexedType< std::decay_t< ArgZ >, idz >> |
auto | d3 (ArgX &&dx, ArgY &&dy, ArgZ &&dz) const requires(ComputeSum< D3< F |
| Third directional derivative.
|
|
template<Function F, Function G>
struct funcy::mathop::Sum< F, G >
Sum of functions of type F and G.