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

Scaling \( af \) of some function \( f \) with a double \( a \). More...

#include <scale.h>

Inheritance diagram for funcy::mathop::Scale< Scalar, F >:
Inheritance graph
[legend]
Collaboration diagram for funcy::mathop::Scale< Scalar, F >:
Collaboration graph
[legend]

Public Member Functions

constexpr Scale (Scalar a_, F &&f_)
 Constructor passing arguments to function constructor. More...
 
constexpr Scale (Scalar a_, const F &f_)
 Constructor passing arguments to function constructor. More...
 
template<class... InitF>
constexpr Scale (Scalar a_, InitF &&... f_) requires std
 Constructor passing arguments to function constructor. More...
 
template<class Arg >
void update (const Arg &x)
 Update point of evaluation.
 
template<int index, class Arg >
void update (const Arg &x)
 Update variable corresponding to index.
 
template<class... IndexedArgs>
void bulk_update (IndexedArgs &&... args)
 
template<int idx, class Arg , class IndexedArg = IndexedType< Arg, idx >>
auto d1 (const Arg &dx) const requires(D1< F
 First directional derivative.
 
template<int idx, int idy, class ArgX , class ArgY , class IndexedArgX = IndexedType< ArgX, idx >, class IndexedArgY = IndexedType< ArgY, idy >>
auto d2 (const ArgX &dx, const ArgY &dy) const requires(D2< F
 Second directional derivative.
 
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 >>
auto d3 (const ArgX &dx, const ArgY &dy, const ArgZ &dz) const requires(D3< F
 Third directional derivative.
 

Public Attributes

auto IndexedArgX
 
auto IndexedArgY
 

Detailed Description

template<class Scalar, Function F>
struct funcy::mathop::Scale< Scalar, F >

Scaling \( af \) of some function \( f \) with a double \( a \).

Constructor & Destructor Documentation

◆ Scale() [1/3]

template<class Scalar , Function F>
constexpr funcy::mathop::Scale< Scalar, F >::Scale ( Scalar  a_,
F &&  f_ 
)
inline

Constructor passing arguments to function constructor.

Parameters
a_scaling
f_input for constructor of outer function

◆ Scale() [2/3]

template<class Scalar , Function F>
constexpr funcy::mathop::Scale< Scalar, F >::Scale ( Scalar  a_,
const F &  f_ 
)
inline

Constructor passing arguments to function constructor.

Parameters
a_scaling
f_input for constructor of outer function

◆ Scale() [3/3]

template<class Scalar , Function F>
template<class... InitF>
constexpr funcy::mathop::Scale< Scalar, F >::Scale ( Scalar  a_,
InitF &&...  f_ 
)
inline

Constructor passing arguments to function constructor.

Parameters
a_scaling
f_input for constructor of outer function

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