Jpp
|
Template base class spline interpolations. More...
#include <JHermiteSpline.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::distance_type | distance_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 JNullType | argument_type |
typedef JNullType | result_type |
typedef JFunctional < argument_type, result_type > | functional_type |
typedef JSupervisor | supervisor_type |
Public Member Functions | |
void | compile (const bool monotone) |
Determination of derivatives. 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 | |
JHermiteSplineCollection () | |
Default constructor. More... | |
virtual void | do_compile () |
Determination of derivatives. More... | |
Static Protected Member Functions | |
static abscissa_type | h00 (abscissa_type t) |
static abscissa_type | h10 (abscissa_type t) |
static abscissa_type | h01 (abscissa_type t) |
static abscissa_type | h11 (abscissa_type t) |
static abscissa_type | h00p (abscissa_type t) |
static abscissa_type | h10p (abscissa_type t) |
static abscissa_type | h01p (abscissa_type t) |
static abscissa_type | h11p (abscissa_type t) |
static abscissa_type | H00 (abscissa_type t) |
static abscissa_type | H10 (abscissa_type t) |
static abscissa_type | H01 (abscissa_type t) |
static abscissa_type | H11 (abscissa_type t) |
Protected Attributes | |
JSupervisor | supervisor |
Template base class spline interpolations.
This class 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 derivatives, respectively.
Note that -by default- the compilation is for a monotonous interpolation.
Definition at line 46 of file JHermiteSpline.hh.
typedef JCollection_t<JElement_t, JDistance_t> JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::collection_type |
Definition at line 52 of file JHermiteSpline.hh.
typedef collection_type::abscissa_type JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::abscissa_type |
Definition at line 54 of file JHermiteSpline.hh.
typedef collection_type::ordinate_type JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::ordinate_type |
Definition at line 55 of file JHermiteSpline.hh.
typedef collection_type::value_type JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::value_type |
Definition at line 56 of file JHermiteSpline.hh.
typedef collection_type::distance_type JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::distance_type |
Definition at line 57 of file JHermiteSpline.hh.
typedef collection_type::const_iterator JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::const_iterator |
Definition at line 59 of file JHermiteSpline.hh.
typedef collection_type::const_reverse_iterator JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::const_reverse_iterator |
Definition at line 60 of file JHermiteSpline.hh.
typedef collection_type::iterator JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::iterator |
Definition at line 61 of file JHermiteSpline.hh.
typedef collection_type::reverse_iterator JTOOLS::JHermiteSplineCollection< JElement_t, JCollection_t, JDistance_t >::reverse_iterator |
Definition at line 62 of file JHermiteSpline.hh.
|
inherited |
Definition at line 84 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 derivatives.
monotone | monotone |
Definition at line 72 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 123 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 124 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 125 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 126 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 128 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 129 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 130 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 131 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 133 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 134 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 135 of file JHermiteSpline.hh.
|
inlinestaticprotected |
Definition at line 136 of file JHermiteSpline.hh.
|
inlineprotectedvirtual |
Determination of derivatives.
Reimplemented in JTOOLS::JHermiteSplineFunction< JElement_t, JCollection_t, JResultPDF< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >.
Definition at line 149 of file JHermiteSpline.hh.
|
pure virtualinherited |
Recursive function value evaluation.
pX | pointer to abscissa values |
|
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 288 of file JFunctional.hh.
|
protectedinherited |
Definition at line 295 of file JFunctional.hh.