funcy  1.6.1
Public Member Functions | Public Attributes | List of all members
funcy::mathop::Subtraction< F, G > Struct Template Reference

Subtraction of functions of type F and G. More...

#include <subtraction.h>

Inheritance diagram for funcy::mathop::Subtraction< F, G >:
Inheritance graph
[legend]
Collaboration diagram for funcy::mathop::Subtraction< F, G >:
Collaboration graph
[legend]

Public Member Functions

constexpr Subtraction (const F &f_, const G &g_)
 Constructor. More...
 
constexpr Subtraction (F &&f_, const G &g_)
 Constructor. More...
 
constexpr Subtraction (const F &f_, G &&g_)
 Constructor. More...
 
constexpr Subtraction (F &&f_, G &&g_)
 Constructor. More...
 
template<class InitF , class InitG >
constexpr Subtraction (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(ComputeSubtraction< 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(ComputeSubtraction< 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(ComputeSubtraction< D3< F
 Third directional derivative.
 

Public Attributes

auto IndexedArg
 
auto IndexedArgX
 
auto IndexedArgY
 
auto IndexedArgZ
 

Detailed Description

template<Function F, Function G>
struct funcy::mathop::Subtraction< F, G >

Subtraction of functions of type F and G.

Constructor & Destructor Documentation

◆ Subtraction() [1/5]

template<Function F, Function G>
constexpr funcy::mathop::Subtraction< F, G >::Subtraction ( const F &  f_,
const G &  g_ 
)
inline

Constructor.

Parameters
f_initializer for F
g_initializer for G

◆ Subtraction() [2/5]

template<Function F, Function G>
constexpr funcy::mathop::Subtraction< F, G >::Subtraction ( F &&  f_,
const G &  g_ 
)
inline

Constructor.

Parameters
f_initializer for F
g_initializer for G

◆ Subtraction() [3/5]

template<Function F, Function G>
constexpr funcy::mathop::Subtraction< F, G >::Subtraction ( const F &  f_,
G &&  g_ 
)
inline

Constructor.

Parameters
f_initializer for F
g_initializer for G

◆ Subtraction() [4/5]

template<Function F, Function G>
constexpr funcy::mathop::Subtraction< F, G >::Subtraction ( F &&  f_,
G &&  g_ 
)
inline

Constructor.

Parameters
f_initializer for F
g_initializer for G

◆ Subtraction() [5/5]

template<Function F, Function G>
template<class InitF , class InitG >
constexpr funcy::mathop::Subtraction< F, G >::Subtraction ( InitF &&  f_,
InitG &&  g_ 
)
inline

Constructor.

Parameters
f_initializer for F
g_initializer for G

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