|
Jpp 21.0.0-rc.1
the software that should make you happy
|
forward declaration for subtraction of fuction. 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. | |
| 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 Attributes | |
| static constexpr parameter_list< JPair, JF1_t::parameters.size()+JF2_t::parameters.size()> | parameters = join<JPair>(JF1_t::parameters, JF2_t::parameters) |
forward declaration for subtraction of fuction.
Multiplication of two functions.
Definition at line 1250 of file JMathlib.hh.
|
inline |
|
inline |
Constructor.
| f1 | first function |
| f2 | second function |
Definition at line 1271 of file JMathlib.hh.
|
inline |
Function value.
| args | abscissa value(s) |
Definition at line 1283 of file JMathlib.hh.
|
inline |
Derivative value.
| x | abscissa value |
Definition at line 1296 of file JMathlib.hh.
|
inline |
Get gradient.
| args | abscissa value(s) |
Definition at line 1310 of file JMathlib.hh.
|
inlineinherited |
Function value.
| args | abscissa value(s) |
Definition at line 331 of file JMathlib.hh.
|
inlineinherited |
Get value of parameter at given index.
| i | index |
Definition at line 539 of file JMathlib.hh.
|
inlineinherited |
Get value of parameter at given index.
| i | index |
Definition at line 551 of file JMathlib.hh.
|
inlineinherited |
Negate function.
Definition at line 169 of file JMathlib.hh.
|
inlineinherited |
Add function.
| f1 | function |
Definition at line 185 of file JMathlib.hh.
|
inlineinherited |
Subtract function.
| f1 | function |
Definition at line 201 of file JMathlib.hh.
|
inlineinherited |
Scale function.
| factor | factor |
Definition at line 217 of file JMathlib.hh.
|
inlineinherited |
Scale function.
| factor | factor |
Definition at line 233 of file JMathlib.hh.
|
staticconstexprinherited |
Definition at line 969 of file JMathlib.hh.