| 
    Jpp 20.0.0-rc.3
    
   the software that should make you happy 
   | 
 
Template base class for spline interpolations. More...
#include <JSpline.hh>
  
Public Types | |
| typedef JCollection_t< JElement_t, JDistance_t > | collection_type | 
| typedef collection_type::abscissa_type | abscissa_type | 
| typedef collection_type::ordinate_type | ordinate_type | 
| typedef collection_type::value_type | value_type | 
| typedef collection_type::const_iterator | const_iterator | 
| typedef collection_type::const_reverse_iterator | const_reverse_iterator | 
| typedef collection_type::iterator | iterator | 
| typedef collection_type::reverse_iterator | reverse_iterator | 
| typedef JArgument_t | argument_type | 
| typedef JResult_t | result_type | 
| typedef JFunctional< argument_type, result_type > | functional_type | 
Public Member Functions | |
| void | compile (const JSplineBounds< ordinate_type > &bounds) | 
| Determination of second derivatives with specified bounds.   | |
| virtual result_type | evaluate (const argument_type *pX) const=0 | 
| Recursive function value evaluation.   | |
| virtual const JExceptionHandler & | getExceptionHandler () const=0 | 
| Get exception handler.   | |
Static Public Member Functions | |
| static result_type | getValue (const JFunctional &function, const argument_type *pX) | 
| Recursive function value evaluation.   | |
| static JClass< result_type >::argument_type | getValue (typename JClass< result_type >::argument_type value, const argument_type *pX) | 
| Termination of recursive function value evaluation.   | |
Protected Member Functions | |
| JSplineCollection () | |
| Default constructor.   | |
| virtual void | do_compile () override | 
| Determination of second derivatives with no bounds.   | |
Template base class for spline interpolations.
This class partially implements the JFunctional interface.
Note that the data structure of the elements in the collection should have the additional methods:
    ordinate_type getU() const;
    void setU(ordinate_type u);
to get and set the second derivatives, respectively.
Spline interpolation code is taken from reference: Numerical Recipes in C++, W.H. Press, S.A. Teukolsky, W.T. Vetterling and B.P. Flannery, Cambridge University Press.
Definition at line 177 of file JSpline.hh.
| JCollection_t<JElement_t, JDistance_t> JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::collection_type | 
Definition at line 183 of file JSpline.hh.
| collection_type::abscissa_type JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::abscissa_type | 
Definition at line 185 of file JSpline.hh.
| collection_type::ordinate_type JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::ordinate_type | 
Definition at line 186 of file JSpline.hh.
| collection_type::value_type JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::value_type | 
Definition at line 187 of file JSpline.hh.
| collection_type::const_iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::const_iterator | 
Definition at line 189 of file JSpline.hh.
| collection_type::const_reverse_iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::const_reverse_iterator | 
Definition at line 190 of file JSpline.hh.
| collection_type::iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::iterator | 
Definition at line 191 of file JSpline.hh.
| collection_type::reverse_iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::reverse_iterator | 
Definition at line 192 of file JSpline.hh.
      
  | 
  inherited | 
Definition at line 83 of file JFunctional.hh.
      
  | 
  inherited | 
Definition at line 84 of file JFunctional.hh.
      
  | 
  inherited | 
Definition at line 85 of file JFunctional.hh.
      
  | 
  inlineprotected | 
      
  | 
  inline | 
Determination of second derivatives with specified bounds.
| bounds | 1st derivatives at two extrema. | 
Definition at line 202 of file JSpline.hh.
      
  | 
  inlineoverrideprotectedvirtual | 
Determination of second derivatives with no bounds.
Reimplemented in JTOOLS::JSplineFunction< JElement_t, JCollection_t, JResultPDF< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >.
Definition at line 304 of file JSpline.hh.
      
  | 
  pure virtualinherited | 
Recursive function value evaluation.
| pX | pointer to abscissa values | 
Implemented in JTOOLS::JHermiteSplineFunction< JElement_t, JCollection_t, JResultDerivative< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >, JTOOLS::JHermiteSplineFunction< JElement_t, JCollection_t, JResultPDF< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >, JTOOLS::JHermiteSplineFunction< JElement_t, JCollection_t, typename JResultType< typename JElement_t::ordinate_type >::result_type, JDistance_t >, JTOOLS::JSplineFunction< JElement_t, JCollection_t, JResultDerivative< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >, JTOOLS::JSplineFunction< JElement_t, JCollection_t, JResultPDF< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >, and JTOOLS::JSplineFunction< JElement_t, JCollection_t, typename JResultType< typename JElement_t::ordinate_type >::result_type, JDistance_t >.
      
  | 
  inlinestaticinherited | 
Recursive function value evaluation.
| function | function | 
| pX | pointer to abscissa values | 
Definition at line 103 of file JFunctional.hh.
      
  | 
  inlinestaticinherited | 
Termination of recursive function value evaluation.
| value | result | 
| pX | pointer to abscissa values | 
Definition at line 117 of file JFunctional.hh.
      
  | 
  pure virtualinherited | 
Get exception handler.