| 
    Jpp
    18.0.1-rc.2
    
   the software that should make you happy 
   | 
 
Polynome function object. More...
#include <JPolynome.hh>
  
 Public Member Functions | |
| JPolynome () | |
| Default constructor.  More... | |
| JPolynome (const JPolynome_t &polynome) | |
| Copy constructor.  More... | |
| template<class T > | |
| JPolynome (T __begin, T __end) | |
| Constructor.  More... | |
| template<class... Args> | |
| JPolynome (const Args &...args) | |
| Initialise constructor.  More... | |
| template<class... Args> | |
| JPolynome & | set (const Args &...args) | 
| Set values.  More... | |
| double | getValue (const double x) const | 
| Function value.  More... | |
| double | getDerivative (const double x) const | 
| Derivative value.  More... | |
| double | getIntegral (const double x) const | 
| Integral value.  More... | |
| double | operator() (const double x) const | 
| Function value.  More... | |
| JPolynome | getDerivative () const | 
| Get derivative function.  More... | |
| JPolynome | getIntegral () const | 
| get integral function.  More... | |
| JPolynome_t | getGradient (const double x) const | 
| Get gradient.  More... | |
| bool | equals (const JPolynome_t &P, const double eps=std::numeric_limits< double >::min()) const | 
| Equality.  More... | |
| JPolynome_t & | add (const JPolynome_t &polynome) | 
| Add polynome.  More... | |
| JPolynome_t & | sub (const JPolynome_t &polynome) | 
| Subtract polynome.  More... | |
| JPolynome_t & | mul (const double factor) | 
| Scale polynome.  More... | |
| JPolynome_t & | mul (const JNullType &object) | 
| Multiply with object.  More... | |
Private Member Functions | |
| template<class... Args> | |
| void | __set__ (const double x, const Args &...args) | 
| Recursive method for setting values.  More... | |
| void | __set__ () const | 
| Termination method for setting values.  More... | |
Polynome function object.
Evaluates function, derivative, integral and gradient values.
Definition at line 163 of file JPolynome.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Constructor.
| __begin | begin of data | 
| __end | end of data | 
Definition at line 190 of file JPolynome.hh.
      
  | 
  inline | 
      
  | 
  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 | 
Integral value.
| x | abscissa value | 
Definition at line 276 of file JPolynome.hh.
      
  | 
  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 | 
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 | 
 1.8.5