Jpp 19.3.0-rc.3
the software that should make you happy
|
Template class for polynomial interpolation in 1D. More...
#include <JPolfit.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 JFunction1D< abscissa_type, JResult_t > | function_type |
typedef function_type::argument_type | argument_type |
typedef function_type::result_type | result_type |
typedef function_type::JExceptionHandler | exceptionhandler_type |
typedef JResultType< ordinate_type >::result_type | data_type |
enum | |
typedef JFunctional< JElement_t::abscissa_type, typename JElement_t::ordinate_type > | functional_type |
typedef functional_type::JExceptionHandler | JExceptionHandler |
typedef JSupervisor | supervisor_type |
typedef JFunctional< argument_type, result_type > | functional_type |
Public Member Functions | |
JPolfitFunction1D () | |
Default contructor. | |
virtual result_type | evaluate (const argument_type *pX) const override |
Recursive interpolation method implementation. | |
result_type | operator() (const argument_type x) const |
Function value evaluation. | |
const JSupervisor & | getSupervisor () const |
Get supervisor. | |
const JExceptionHandler & | getExceptionHandler () const override |
Get exception handler. | |
void | setExceptionHandler (const JSupervisor &supervisor) |
Set the supervisor for handling of exceptions. | |
virtual result_type | evaluate (const argument_type *pX) const=0 |
Recursive function value evaluation. | |
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. | |
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 Attributes | |
JSupervisor | __supervisor |
Private Member Functions | |
virtual void | do_compile () override |
Function compilation. | |
Private Attributes | |
std::vector< std::pair< abscissa_type, result_type > > | buffer |
Template class for polynomial interpolation in 1D.
This class implements the JFunction1D interface.
Definition at line 171 of file JPolfit.hh.
JCollection_t<JElement_t, JDistance_t> JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::collection_type |
Definition at line 177 of file JPolfit.hh.
collection_type::abscissa_type JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::abscissa_type |
Definition at line 179 of file JPolfit.hh.
collection_type::ordinate_type JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::ordinate_type |
Definition at line 180 of file JPolfit.hh.
collection_type::value_type JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::value_type |
Definition at line 181 of file JPolfit.hh.
collection_type::distance_type JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::distance_type |
Definition at line 182 of file JPolfit.hh.
collection_type::const_iterator JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::const_iterator |
Definition at line 184 of file JPolfit.hh.
collection_type::const_reverse_iterator JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::const_reverse_iterator |
Definition at line 185 of file JPolfit.hh.
collection_type::iterator JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::iterator |
Definition at line 186 of file JPolfit.hh.
collection_type::reverse_iterator JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::reverse_iterator |
Definition at line 187 of file JPolfit.hh.
JFunction1D<abscissa_type, JResult_t> JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::function_type |
Definition at line 189 of file JPolfit.hh.
function_type::argument_type JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::argument_type |
Definition at line 191 of file JPolfit.hh.
function_type::result_type JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::result_type |
Definition at line 192 of file JPolfit.hh.
function_type::JExceptionHandler JTOOLS::JPolfitFunction1D< N, M, JElement_t, JCollection_t, JResult_t, JDistance_t >::exceptionhandler_type |
Definition at line 193 of file JPolfit.hh.
|
inherited |
Definition at line 64 of file JPolfit.hh.
|
inherited |
Definition at line 332 of file JFunctional.hh.
|
inherited |
Definition at line 235 of file JFunctional.hh.
|
inherited |
Definition at line 237 of file JFunctional.hh.
|
inherited |
Definition at line 85 of file JFunctional.hh.
|
inherited |
Definition at line 330 of file JFunctional.hh.
|
inline |
|
inlineoverridevirtualinherited |
Recursive interpolation method implementation.
pX | pointer to abscissa values |
Definition at line 87 of file JPolfit.hh.
|
inlineoverrideprivatevirtualinherited |
|
inlineinherited |
Function value evaluation.
x | argument value |
Definition at line 343 of file JFunctional.hh.
|
inlineinherited |
Get supervisor.
Definition at line 290 of file JFunctional.hh.
|
inlineoverridevirtualinherited |
Get exception handler.
Implements JTOOLS::JFunctional< JElement_t::abscissa_type, typename JElement_t::ordinate_type >.
Definition at line 301 of file JFunctional.hh.
|
inlineinherited |
Set the supervisor for handling of exceptions.
supervisor | supervisor |
Definition at line 312 of file JFunctional.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 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 |
Recursive function value evaluation.
pX | pointer to abscissa values |
|
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.
|
mutableprivateinherited |
Definition at line 156 of file JPolfit.hh.
|
protectedinherited |
Definition at line 318 of file JFunctional.hh.