| 
    Jpp test-rotations-old
    
   the software that should make you happy 
   | 
 
Template implementation of function object in one dimension returning a constant value. More...
#include <JConstantFunction1D.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 functional_type::JExceptionHandler | JExceptionHandler | 
| typedef JSupervisor | supervisor_type | 
Public Member Functions | |
| JConstantFunction1D () | |
| Default constructor.   | |
| JConstantFunction1D (const result_type y) | |
| Constructor.   | |
| JConstantFunction1D (const JMATH::JZero &y) | |
| Constructor.   | |
| JConstantFunction1D & | add (typename JLANG::JClass< result_type >::argument_type value) | 
| Add offset.   | |
| JConstantFunction1D & | sub (typename JLANG::JClass< result_type >::argument_type value) | 
| Subtract offset.   | |
| JConstantFunction1D & | mul (const double value) | 
| Scale contents.   | |
| JConstantFunction1D & | div (const double value) | 
| Scale contents.   | |
| JConstantFunction1D & | add (const JConstantFunction1D &function) | 
| Add function.   | |
| JConstantFunction1D & | sub (const JConstantFunction1D &function) | 
| Subtract function.   | |
| result_type | getY () const | 
| Function value.   | |
| virtual result_type | evaluate (const argument_type *pX) const override | 
| Function value evaluation.   | |
| 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.   | |
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.   | |
Protected Member Functions | |
| virtual void | do_compile () override | 
| Function compilation.   | |
Protected Attributes | |
| JSupervisor | __supervisor | 
Private Attributes | |
| result_type | __y | 
Friends | |
| JReader & | operator>> (JReader &in, JConstantFunction1D &function) | 
| Read function from input.   | |
| JWriter & | operator<< (JWriter &out, const JConstantFunction1D &function) | 
| Write function to output.   | |
Template implementation of function object in one dimension returning a constant value.
This class implements the JFunction1D interface.
Definition at line 26 of file JConstantFunction1D.hh.
| JFunction1D<JArgument_t, JResult_t> JTOOLS::JConstantFunction1D< JArgument_t, JResult_t >::function_type | 
Definition at line 31 of file JConstantFunction1D.hh.
| function_type::argument_type JTOOLS::JConstantFunction1D< JArgument_t, JResult_t >::argument_type | 
Definition at line 32 of file JConstantFunction1D.hh.
| function_type::result_type JTOOLS::JConstantFunction1D< JArgument_t, JResult_t >::result_type | 
Definition at line 33 of file JConstantFunction1D.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 | 
| Enumerator | |
|---|---|
| NUMBER_OF_DIMENSIONS | |
Definition at line 330 of file JFunctional.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 39 of file JConstantFunction1D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Scale contents.
| value | multiplication factor | 
Definition at line 98 of file JConstantFunction1D.hh.
      
  | 
  inline | 
Scale contents.
| value | division factor | 
Definition at line 111 of file JConstantFunction1D.hh.
      
  | 
  inline | 
      
  | 
  inline | 
Subtract function.
| function | function | 
Definition at line 137 of file JConstantFunction1D.hh.
      
  | 
  inline | 
      
  | 
  inlineoverridevirtual | 
Function value evaluation.
| pX | pointer to abscissa values | 
Implements JTOOLS::JFunctional< JArgument_t, JResult_t >.
Definition at line 162 of file JConstantFunction1D.hh.
      
  | 
  inlineoverrideprotectedvirtual | 
      
  | 
  inlineinherited | 
Function value evaluation.
| x | argument value | 
Definition at line 343 of file JFunctional.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineoverridevirtualinherited | 
Get exception handler.
Implements JTOOLS::JFunctional< JArgument_t, JResult_t >.
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.
      
  | 
  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.
      
  | 
  friend | 
Read function from input.
| in | reader | 
| function | function | 
Definition at line 175 of file JConstantFunction1D.hh.
      
  | 
  friend | 
Write function to output.
| out | writer | 
| function | function | 
Definition at line 188 of file JConstantFunction1D.hh.
      
  | 
  private | 
Definition at line 202 of file JConstantFunction1D.hh.
      
  | 
  protectedinherited | 
Definition at line 318 of file JFunctional.hh.