Jpp
master_rocky-37-gf0c5bc59d
the software that should make you happy
|
Template implementation of function object in one dimension using an external function. 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 |
typedef result_type(* | pointerToFunction) (const argument_type) |
enum | { NUMBER_OF_DIMENSIONS = 1 } |
typedef JFunctional< JArgument_t, JResult_t > | functional_type |
typedef JSupervisor | supervisor_type |
Public Member Functions | |
JExternalFunction1D (pointerToFunction function) | |
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 | |
pointerToFunction | __f |
JSupervisor | supervisor |
Template implementation of function object in one dimension using an external function.
This class implements the JFunction1D interface.
Definition at line 31 of file JFunctionObject1D.hh.
typedef JFunction1D<JArgument_t, JResult_t> JTOOLS::JExternalFunction1D< JArgument_t, JResult_t >::function_type |
Definition at line 36 of file JFunctionObject1D.hh.
typedef function_type::argument_type JTOOLS::JExternalFunction1D< JArgument_t, JResult_t >::argument_type |
Definition at line 37 of file JFunctionObject1D.hh.
typedef function_type::result_type JTOOLS::JExternalFunction1D< JArgument_t, JResult_t >::result_type |
Definition at line 38 of file JFunctionObject1D.hh.
typedef result_type(* JTOOLS::JExternalFunction1D< JArgument_t, JResult_t >::pointerToFunction) (const argument_type) |
Definition at line 40 of file JFunctionObject1D.hh.
|
inherited |
Definition at line 337 of file JFunctional.hh.
|
inherited |
Definition at line 89 of file JFunctional.hh.
|
inherited |
|
inline |
Constructor.
function | pointer to function |
Definition at line 48 of file JFunctionObject1D.hh.
|
inlineoverridevirtual |
Function value evaluation.
pX | pointer to abscissa values |
Implements JTOOLS::JFunctional< JArgument_t, JResult_t >.
Definition at line 60 of file JFunctionObject1D.hh.
|
inlineoverrideprotectedvirtual |
|
inlineinherited |
Function value evaluation.
x | argument value |
Definition at line 348 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 303 of file JFunctional.hh.
|
protected |
Definition at line 74 of file JFunctionObject1D.hh.
|
protectedinherited |
Definition at line 310 of file JFunctional.hh.