|
Jpp 21.0.0-rc.3
the software that should make you happy
|
Power of function. More...
#include <JMathlib.hh>
Public Member Functions | |
| JPow () | |
| Default constructor. | |
| JPow (const double alpha) | |
| Constructor. | |
| JPow (const JF1_t &f1, const double alpha) | |
| Constructor. | |
| double | getValue (const double x) const |
| Function value. | |
| double | getDerivative (const double x) const |
| Derivative value. | |
| JPow | getGradient (const double x) 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. | |
| 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. | |
| JX & | negate () |
| Negate function. | |
| JX & | add (const JX &f1) |
| Add function. | |
| JX & | sub (const JX &f1) |
| Subtract function. | |
| JX & | mul (const double factor) |
| Scale function. | |
| JX & | div (const double factor) |
| Scale function. | |
Static Public Member Functions | |
| static size_t | size () |
| Get size of parameter. | |
| static size_t | size () |
| Get size of parameter. | |
Public Attributes | |
| double | alpha |
| f(x)^alpha | |
Static Public Attributes | |
| static const int | ID = ID_t |
| static constexpr parameter_list< JPow, JF1_t::parameters.size()+1 > | parameters = join<JPow>(JF1_t::parameters, &JPow::alpha) |
Power of function.
Definition at line 2201 of file JMathlib.hh.
|
inline |
Default constructor.
Definition at line 2214 of file JMathlib.hh.
|
inline |
|
inline |
|
inline |
Function value.
| x | abscissa value |
Definition at line 2249 of file JMathlib.hh.
|
inline |
Derivative value.
| x | abscissa value |
Definition at line 2263 of file JMathlib.hh.
|
inline |
Get gradient.
| x | abscissa value |
Definition at line 2278 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 |
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 |
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.
|
static |
Definition at line 2205 of file JMathlib.hh.
| double JMATH::JPow< ID_t, JF1_t >::alpha |
f(x)^alpha
Definition at line 2293 of file JMathlib.hh.
|
staticconstexpr |
Definition at line 2295 of file JMathlib.hh.