|
Jpp 21.0.0-rc.3
the software that should make you happy
|
Multiplication of two functions. More...
#include <JMathlib.hh>
Public Member Functions | |
| JMul () | |
| Default constructor. | |
| JMul (const JF1_t &f1, const JF2_t &f2) | |
| Constructor. | |
| template<class ... Args> | |
| double | getValue (const Args &...args) const |
| Function value. | |
| double | getDerivative (const double x) const |
| Derivative value. | |
| template<class ... Args> | |
| JMul | getGradient (const Args &...args) const |
| Get gradient. | |
| double | operator() (const Args &...args) const |
| Function value. | |
| double | operator[] (const size_t i) const |
| Get value of parameter at given index. | |
| double & | operator[] (const size_t i) |
| Get value of parameter at given index. | |
| const JF1_t & | f1 () const |
| JF1_t & | f1 () |
| const JF2_t & | f2 () const |
| JF2_t & | f2 () |
| JF1_t & | negate () |
| Negate function. | |
| JF1_t & | add (const JF1_t &f1) |
| Add function. | |
| JF1_t & | sub (const JF1_t &f1) |
| Subtract function. | |
| JF1_t & | mul (const double factor) |
| Scale function. | |
| JF1_t & | div (const double factor) |
| Scale function. | |
Static Public Member Functions | |
| static size_t | size () |
| Get size of parameter. | |
Static Public Attributes | |
| static constexpr parameter_list< JPair, JF1_t::parameters.size()+JF2_t::parameters.size()> | parameters = join<JPair>(JF1_t::parameters, JF2_t::parameters) |
Multiplication of two functions.
Definition at line 1302 of file JMathlib.hh.
|
inline |
|
inline |
Constructor.
| f1 | first function |
| f2 | second function |
Definition at line 1323 of file JMathlib.hh.
|
inline |
Function value.
| args | abscissa value(s) |
Definition at line 1335 of file JMathlib.hh.
|
inline |
Derivative value.
| x | abscissa value |
Definition at line 1348 of file JMathlib.hh.
|
inline |
Get gradient.
| args | abscissa value(s) |
Definition at line 1362 of file JMathlib.hh.
|
inlineinherited |
Function value.
| args | abscissa value(s) |
Definition at line 331 of file JMathlib.hh.
|
inlinestaticinherited |
Get size of parameter.
Definition at line 538 of file JMathlib.hh.
|
inlineinherited |
Get value of parameter at given index.
| i | index |
Definition at line 550 of file JMathlib.hh.
|
inlineinherited |
Get value of parameter at given index.
| i | index |
Definition at line 562 of file JMathlib.hh.
|
inlineinherited |
Definition at line 981 of file JMathlib.hh.
|
inlineinherited |
Definition at line 984 of file JMathlib.hh.
|
inlineinherited |
Definition at line 982 of file JMathlib.hh.
|
inlineinherited |
Definition at line 985 of file JMathlib.hh.
|
inlineinherited |
Negate function.
Definition at line 170 of file JMathlib.hh.
|
inlineinherited |
Add function.
| f1 | function |
Definition at line 186 of file JMathlib.hh.
|
inlineinherited |
Subtract function.
| f1 | function |
Definition at line 202 of file JMathlib.hh.
|
inlineinherited |
Scale function.
| factor | factor |
Definition at line 218 of file JMathlib.hh.
|
inlineinherited |
Scale function.
| factor | factor |
Definition at line 234 of file JMathlib.hh.
|
staticconstexprinherited |
Definition at line 988 of file JMathlib.hh.