| 
    Jpp 19.3.0-rc.2
    
   the software that should make you happy 
   | 
 
Recursive template class for polynomial function. More...
#include <JMathlib.hh>
  
Public Member Functions | |
| JPolynome () | |
| Default constructor.   | |
| template<class ... Args> | |
| JPolynome (const Args &...args) | |
| Constructor.   | |
| double | getValue (const double x) const | 
| Function value.   | |
| double | getDerivative (const double x) const | 
| Derivative value.   | |
| const JPolynome & | getGradient (const double x) const | 
| Get gradient.   | |
| JPolynome () | |
| Default constructor.   | |
| JPolynome (const JPolynome_t &polynome) | |
| Copy constructor.   | |
| template<class T > | |
| JPolynome (T __begin, T __end) | |
| Constructor.   | |
| template<class ... Args> | |
| JPolynome (const Args &...args) | |
| Initialise constructor.   | |
| template<class ... Args> | |
| JPolynome & | set (const Args &...args) | 
| Set values.   | |
| double | getValue (const double x) const | 
| Function value.   | |
| double | getDerivative (const double x) const | 
| Derivative value.   | |
| double | getIntegral (const double x) const | 
| Integral value.   | |
| double | operator() (const double x) const | 
| Function value.   | |
| JPolynome | getDerivative () const | 
| Get derivative function.   | |
| JPolynome | getIntegral () const | 
| get integral function.   | |
| JPolynome_t | getGradient (const double x) const | 
| Get gradient.   | |
| double | operator() (const Args &...args) const | 
| Function value.   | |
| JPolynome< ID_t, N > & | negate () | 
| Negate function.   | |
| JPolynome< ID_t, N > & | add (const JPolynome< ID_t, N > &f1) | 
| Add function.   | |
| JPolynome< ID_t, N > & | sub (const JPolynome< ID_t, N > &f1) | 
| Subtract function.   | |
| JPolynome< ID_t, N > & | mul (const double factor) | 
| Scale function.   | |
| JPolynome< ID_t, N > & | div (const double factor) | 
| Scale function.   | |
| bool | equals (const JPolynome_t &P, const double eps=std::numeric_limits< double >::min()) const | 
| Equality.   | |
| JPolynome_t & | add (const JPolynome_t &polynome) | 
| Add polynome.   | |
| JPolynome_t & | sub (const JPolynome_t &polynome) | 
| Subtract polynome.   | |
| JPolynome_t & | mul (const double factor) | 
| Scale polynome.   | |
| JPolynome_t & | mul (const JSecond_t &object) | 
| Multiply with object.   | |
Public Attributes | |
| double | a | 
| a[N]   | |
Static Public Attributes | |
| static const int | ID = ID_t | 
| static const size_t | NUMBER_OF_DEGREES = N | 
| static const parameter_list< JPolynome > | parameters | 
| parameters   | |
Protected Member Functions | |
| void | set (const double *pA) | 
| Set parameter values.   | |
Private Member Functions | |
| template<class ... Args> | |
| void | __set__ (const double x, const Args &...args) | 
| Recursive method for setting values.   | |
| void | __set__ () const | 
| Termination method for setting values.   | |
Recursive template class for polynomial function.
Polynome function object.
Evaluates function, derivative, integral and gradient values.
Definition at line 163 of file JPolynome.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 1397 of file JMathlib.hh.
      
  | 
  inline | 
Constructor.
| args | list of values | 
Definition at line 1408 of file JMathlib.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Copy constructor.
| polynome | polynome | 
Definition at line 178 of file JPolynome.hh.
      
  | 
  inline | 
Constructor.
| __begin | begin of data | 
| __end | end of data | 
Definition at line 190 of file JPolynome.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Function value.
| x | abscissa value | 
Definition at line 1421 of file JMathlib.hh.
      
  | 
  inline | 
Derivative value.
| x | abscissa value | 
Definition at line 1433 of file JMathlib.hh.
      
  | 
  inline | 
Get gradient.
| x | abscissa value | 
Definition at line 1445 of file JMathlib.hh.
      
  | 
  inlineprotected | 
Set parameter values.
| pA | pointer to list of values | 
Definition at line 1465 of file JMathlib.hh.
      
  | 
  inline | 
Set values.
| args | values | 
Definition at line 217 of file JPolynome.hh.
      
  | 
  inline | 
Function value.
| x | abscissa value | 
Definition at line 233 of file JPolynome.hh.
      
  | 
  inline | 
Derivative value.
| x | abscissa value | 
Definition at line 252 of file JPolynome.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Function value.
| x | abscissa value | 
Definition at line 296 of file JPolynome.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Get gradient.
| x | abscissa value | 
Definition at line 354 of file JPolynome.hh.
      
  | 
  inlineprivate | 
Recursive method for setting values.
| x | next value | 
| args | remaining values | 
Definition at line 375 of file JPolynome.hh.
      
  | 
  inlineprivate | 
      
  | 
  inlineinherited | 
Function value.
| args | abscissa value(s) | 
Definition at line 362 of file JMathlib.hh.
      
  | 
  inlineinherited | 
Negate function.
Definition at line 203 of file JMathlib.hh.
      
  | 
  inlineinherited | 
Add function.
| f1 | function | 
Definition at line 219 of file JMathlib.hh.
      
  | 
  inlineinherited | 
Subtract function.
| f1 | function | 
Definition at line 235 of file JMathlib.hh.
      
  | 
  inlineinherited | 
Scale function.
| factor | factor | 
Definition at line 251 of file JMathlib.hh.
      
  | 
  inlineinherited | 
Scale function.
| factor | factor | 
Definition at line 267 of file JMathlib.hh.
      
  | 
  inlineinherited | 
Equality.
| P | polynome | 
| eps | numerical precision | 
Definition at line 47 of file JPolynome.hh.
      
  | 
  inlineinherited | 
Add polynome.
| polynome | polynome | 
Definition at line 73 of file JPolynome.hh.
      
  | 
  inlineinherited | 
Subtract polynome.
| polynome | polynome | 
Definition at line 93 of file JPolynome.hh.
      
  | 
  inlineinherited | 
Scale polynome.
| factor | multiplication factor | 
Definition at line 113 of file JPolynome.hh.
      
  | 
  inlineinherited | 
      
  | 
  static | 
Definition at line 1382 of file JMathlib.hh.
      
  | 
  static | 
Definition at line 1384 of file JMathlib.hh.
| double JMATH::JPolynome< ID_t, N >::a | 
a[N]
Definition at line 1456 of file JMathlib.hh.
      
  | 
  static |