| 
    Jpp
    master_rocky-37-gf0c5bc59d
    
   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 | 
| typedef JSupervisor | supervisor_type | 
Public Member Functions | |
| void | compile (const JSplineBounds< ordinate_type > &bounds) | 
| Determination of second derivatives with specified bounds.  More... | |
| virtual result_type | evaluate (const argument_type *pX) const=0 | 
| Recursive function value evaluation.  More... | |
| JSupervisor | getSupervisor () const | 
| Get supervisor.  More... | |
| const JExceptionHandler & | getExceptionHandler () const | 
| Get exception handler.  More... | |
| void | setExceptionHandler (const JSupervisor &supervisor) | 
| Set the supervisor for handling of exceptions.  More... | |
Static Public Member Functions | |
| static result_type | getValue (const JFunctional &function, const argument_type *pX) | 
| Recursive function value evaluation.  More... | |
| static JClass< result_type >::argument_type | getValue (typename JClass< result_type >::argument_type value, const argument_type *pX) | 
| Termination of recursive function value evaluation.  More... | |
Protected Member Functions | |
| JSplineCollection () | |
| Default constructor.  More... | |
| virtual void | do_compile () override | 
| Determination of second derivatives with no bounds.  More... | |
Protected Attributes | |
| JSupervisor | supervisor | 
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.
| typedef JCollection_t<JElement_t, JDistance_t> JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::collection_type | 
Definition at line 183 of file JSpline.hh.
| typedef collection_type::abscissa_type JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::abscissa_type | 
Definition at line 185 of file JSpline.hh.
| typedef collection_type::ordinate_type JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::ordinate_type | 
Definition at line 186 of file JSpline.hh.
| typedef collection_type::value_type JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::value_type | 
Definition at line 187 of file JSpline.hh.
| typedef collection_type::const_iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::const_iterator | 
Definition at line 189 of file JSpline.hh.
| typedef collection_type::const_reverse_iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::const_reverse_iterator | 
Definition at line 190 of file JSpline.hh.
| typedef collection_type::iterator JTOOLS::JSplineCollection< JElement_t, JCollection_t, JDistance_t >::iterator | 
Definition at line 191 of file JSpline.hh.
| typedef 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 86 of file JFunctional.hh.
      
  | 
  inherited | 
Definition at line 87 of file JFunctional.hh.
      
  | 
  inherited | 
Definition at line 88 of file JFunctional.hh.
      
  | 
  inherited | 
Definition at line 89 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::JSplineFunction< JElement_t, JCollection_t, JResultPDF< 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, 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, JResultDerivative< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >, and JTOOLS::JHermiteSplineFunction< 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 107 of file JFunctional.hh.
      
  | 
  inlinestaticinherited | 
Termination of recursive function value evaluation.
| value | result | 
| pX | pointer to abscissa values | 
Definition at line 121 of file JFunctional.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Set the supervisor for handling of exceptions.
| supervisor | supervisor | 
Definition at line 303 of file JFunctional.hh.
      
  | 
  protectedinherited | 
Definition at line 310 of file JFunctional.hh.