|
Jpp
17.3.0-rc.2
the software that should make you happy
|
Template implementation of function object in one dimension. More...
#include <JFunctionObject1D.hh>
Public Types | |
| typedef JFunction1D < JArgument_t, JResult_t > | function_type |
| typedef function_type::argument_type | argument_type |
| typedef function_type::result_type | result_type |
| enum | { NUMBER_OF_DIMENSIONS = 1 } |
| typedef JFunctional < JArgument_t, JResult_t > | functional_type |
| typedef JSupervisor | supervisor_type |
Public Member Functions | |
| JFunctionObject1D () | |
| Default constructor. More... | |
| JFunctionObject1D (typename JLANG::JClass< result_type >::argument_type y) | |
| Constructor. More... | |
| JFunctionObject1D (result_type(*f)(const argument_type)) | |
| Constructor. More... | |
| virtual result_type | evaluate (const argument_type *pX) const override |
| Function value evaluation. More... | |
| result_type | operator() (const argument_type x) const |
| 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 | |
| virtual void | do_compile () override |
| Function compilation. More... | |
Protected Attributes | |
| JLANG::JSinglePointer < function_type > | function |
| JSupervisor | supervisor |
Template implementation of function object in one dimension.
This class implements the JFunction1D interface.
Definition at line 84 of file JFunctionObject1D.hh.
| typedef JFunction1D<JArgument_t, JResult_t> JTOOLS::JFunctionObject1D< JArgument_t, JResult_t >::function_type |
Definition at line 90 of file JFunctionObject1D.hh.
| typedef function_type::argument_type JTOOLS::JFunctionObject1D< JArgument_t, JResult_t >::argument_type |
Definition at line 91 of file JFunctionObject1D.hh.
| typedef function_type::result_type JTOOLS::JFunctionObject1D< JArgument_t, JResult_t >::result_type |
Definition at line 92 of file JFunctionObject1D.hh.
|
inherited |
Definition at line 322 of file JFunctional.hh.
|
inherited |
Definition at line 89 of file JFunctional.hh.
|
inherited |
|
inline |
Default constructor.
Definition at line 98 of file JFunctionObject1D.hh.
|
inline |
Constructor.
| y | constant value |
Definition at line 109 of file JFunctionObject1D.hh.
|
inline |
Constructor.
| f | pointer to external function |
Definition at line 120 of file JFunctionObject1D.hh.
|
inlineoverridevirtual |
Function value evaluation.
| pX | pointer to abscissa values |
Implements JTOOLS::JFunctional< JArgument_t, JResult_t >.
Definition at line 132 of file JFunctionObject1D.hh.
|
inlineoverrideprotectedvirtual |
Function compilation.
Definition at line 142 of file JFunctionObject1D.hh.
|
inlineinherited |
Function value evaluation.
| x | argument value |
Definition at line 333 of file JFunctional.hh.
|
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.
|
protected |
Definition at line 148 of file JFunctionObject1D.hh.
|
protectedinherited |
Definition at line 295 of file JFunctional.hh.
1.8.5