|
Jpp 21.0.0-rc.3
the software that should make you happy
|
Termination class for polynomial function. More...
#include <JMathlib.hh>
Public Member Functions | |
| JPolynome () | |
| Default constructor. | |
| JPolynome (const double a) | |
| Constructor. | |
| template<class T > | |
| JPolynome (const std::array< T, 1 > &args) | |
| Constructor. | |
| template<class T > | |
| void | set (const std::array< T, 1 > &args) |
| Set value. | |
| double | getValue (...) const |
| Function value. | |
| double | getDerivative (...) const |
| Derivative value. | |
| JPolynome | getGradient (...) 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. | |
| JPolynome< ID_t, 0 > & | negate () |
| Negate function. | |
| JPolynome< ID_t, 0 > & | add (const JPolynome< ID_t, 0 > &f1) |
| Add function. | |
| JPolynome< ID_t, 0 > & | sub (const JPolynome< ID_t, 0 > &f1) |
| Subtract function. | |
| JPolynome< ID_t, 0 > & | mul (const double factor) |
| Scale function. | |
| JPolynome< ID_t, 0 > & | div (const double factor) |
| Scale function. | |
Static Public Member Functions | |
| static size_t | size () |
| Get size of parameter. | |
Public Attributes | |
| double | a |
| a[0] | |
Static Public Attributes | |
| static const int | ID = ID_t |
| static const size_t | NUMBER_OF_DEGREES = 0 |
| static constexpr parameter_list< JPolynome, 1 > | parameters {&JPolynome::a} |
Termination class for polynomial function.
This function consititutes a constant term and is thereby multi-dimensional by nature.
Definition at line 1883 of file JMathlib.hh.
|
inline |
Default constructor.
Definition at line 1895 of file JMathlib.hh.
|
inline |
|
inline |
Constructor.
| args | list of values |
Definition at line 1916 of file JMathlib.hh.
|
inline |
|
inline |
|
inline |
Derivative value.
Definition at line 1951 of file JMathlib.hh.
|
inline |
|
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 1887 of file JMathlib.hh.
|
static |
Definition at line 1889 of file JMathlib.hh.
| double JMATH::JPolynome< ID_t, 0 >::a |
a[0]
Definition at line 1971 of file JMathlib.hh.
|
staticconstexpr |
Definition at line 1973 of file JMathlib.hh.