Jpp
18.5.2
the software that should make you happy
|
Type definition of a spline interpolation based on a JGridMap implementation. More...
#include <JFunctionalMap_t.hh>
Public Member Functions | |
virtual result_type | evaluate (const argument_type *pX) const override |
Recursive interpolation method implementation. More... | |
int | getIndex (typename JClass< abscissa_type >::argument_type x) const |
Get index of given abscissa value. More... | |
const_iterator | lower_bound (typename JClass< abscissa_type >::argument_type x) const |
Get first position of element i , where x >= i->getX() . More... | |
iterator | lower_bound (typename JClass< abscissa_type >::argument_type x) |
Get first position of element i , where x >= i->getX() . More... | |
virtual void | clear () override |
Clear. More... | |
virtual const ordinate_type & | get (typename JClass< abscissa_type >::argument_type x) const override |
Get ordinate value. More... | |
virtual ordinate_type & | get (typename JClass< abscissa_type >::argument_type x) override |
Get ordinate value. More... | |
virtual const mapped_type & | get (typename JClass< key_type >::argument_type key) const =0 |
Get mapped value. More... | |
virtual mapped_type & | get (typename JClass< key_type >::argument_type key)=0 |
Get mapped value. More... | |
virtual int | getSize () const override |
Get number of elements. More... | |
virtual abscissa_type | getX (int index) const override |
Get abscissa value. More... | |
virtual abscissa_type | getXmin () const override |
Get minimal abscissa value. More... | |
virtual abscissa_type | getXmax () const override |
Get maximal abscissa value. More... | |
const ordinate_type & | getY (int index) const |
Get ordinate value. More... | |
ordinate_type & | getY (int index) |
Get ordinate value. More... | |
void | transform (const transformer_type &transformer) |
Transform collection. More... | |
void | sort () |
Sort elements. More... | |
pair_type | insert (const value_type &element) |
Insert element. More... | |
void | configure (const JAbstractCollection< abscissa_type > &bounds) |
Configure collection. More... | |
void | configure (const JAbstractCollection< abscissa_type > &bounds, typename JClass< ordinate_type >::argument_type value) |
Configure collection. More... | |
void | configure (const JAbstractCollection< abscissa_type > &bounds, const JFunction1D_t &function) |
Configure collection. More... | |
bool | is_compatible (const JCollection &collection) const |
Test whether collections are compatible. More... | |
JCollection & | negate () |
Negate collection. More... | |
JCollection & | add (const JCollection &collection) |
Add collection. More... | |
JCollection & | add (typename JClass< ordinate_type >::argument_type value) |
Add offset. More... | |
JCollection & | add (const JFunction1D_t &function) |
Add function. More... | |
JCollection & | sub (const JCollection &collection) |
Subtract collection. More... | |
JCollection & | sub (typename JClass< ordinate_type >::argument_type value) |
Subtract offset. More... | |
JCollection & | sub (const JFunction1D_t &function) |
Subtract function. More... | |
JCollection & | mul (const double value) |
Scale contents. More... | |
JFirst_t & | mul (const JSecond_t &object) |
Multiply with object. More... | |
JCollection & | div (const double value) |
Scale contents. More... | |
const JComparator & | getComparator () const |
Get comparator. More... | |
const mapped_type & | operator[] (typename JClass< key_type >::argument_type key) const |
Get mapped value. More... | |
mapped_type & | operator[] (typename JClass< key_type >::argument_type key) |
Get mapped value. More... | |
void | put (typename JClass< key_type >::argument_type key, typename JClass< mapped_type >::argument_type value) |
Put pair-wise element (key,value) into collection. More... | |
bool | is_equal (const JAbstractCollection &collection) const |
Test whether abstract collections are equal. 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... | |
Public Attributes | |
JDistance_t | getDistance |
Function object for distance evaluation. More... | |
Protected Member Functions | |
void | resize (typename container_type::size_type size) |
Resize collection. More... | |
Protected Attributes | |
JComparator | compare |
Function object for comparison. More... | |
JSupervisor | supervisor |
Type definition of a spline interpolation based on a JGridMap implementation.
Definition at line 37 of file JFunctionalMap_t.hh.
|
inherited |
Definition at line 793 of file JSpline.hh.
|
inherited |
Definition at line 794 of file JSpline.hh.
|
inherited |
Definition at line 796 of file JSpline.hh.
|
inherited |
Definition at line 797 of file JSpline.hh.
|
inherited |
Definition at line 798 of file JSpline.hh.
|
inherited |
Definition at line 799 of file JSpline.hh.
|
inherited |
Definition at line 801 of file JSpline.hh.
|
inherited |
Definition at line 802 of file JSpline.hh.
|
inherited |
Definition at line 803 of file JSpline.hh.
|
inherited |
Definition at line 804 of file JSpline.hh.
|
inherited |
Definition at line 806 of file JSpline.hh.
|
inherited |
Definition at line 807 of file JSpline.hh.
|
inherited |
Definition at line 808 of file JSpline.hh.
|
inherited |
Definition at line 810 of file JSpline.hh.
|
inherited |
Definition at line 813 of file JSpline.hh.
|
inherited |
Definition at line 32 of file JGridMap.hh.
|
inherited |
Definition at line 33 of file JGridMap.hh.
|
inherited |
Definition at line 46 of file JGridCollection.hh.
|
inherited |
Definition at line 89 of file JCollection.hh.
|
inherited |
Definition at line 96 of file JCollection.hh.
|
inherited |
Definition at line 321 of file JFunctional.hh.
|
inherited |
Definition at line 89 of file JFunctional.hh.
|
inlineoverridevirtualinherited |
Recursive interpolation method implementation.
pX | pointer to abscissa values |
Implements JTOOLS::JFunctional< JKey_t, JResultType< JValue_t >::result_type >.
Definition at line 829 of file JSpline.hh.
|
inlineinherited |
Get index of given abscissa value.
For values within the range of this collection, the index starts at zero and ends at number of elements minus one. Note that the index could be less than zero or larger than (or equal to) the number of elements, if the given abscissa value is outside the range of this collection.
x | abscissa value |
Definition at line 66 of file JGridCollection.hh.
|
inlineinherited |
Get first position of element i
, where x >= i->getX()
.
x | abscissa value |
Definition at line 78 of file JGridCollection.hh.
|
inlineinherited |
Get first position of element i
, where x >= i->getX()
.
x | abscissa value |
Definition at line 97 of file JGridCollection.hh.
|
inlineoverridevirtualinherited |
Clear.
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 150 of file JCollection.hh.
|
inlineoverridevirtualinherited |
Get ordinate value.
x | abscissa value |
Definition at line 162 of file JCollection.hh.
|
inlineoverridevirtualinherited |
Get ordinate value.
x | abscissa value |
Definition at line 180 of file JCollection.hh.
|
pure virtualinherited |
Get mapped value.
key | key |
Implemented in JTOOLS::JHashMap< JKey_t, JValue_t, JEvaluator_t >, JTOOLS::JHashMap< int, JTOOLS::JTOOLS::JHashMap< int, JDETECTOR::JModuleAddress > >, JTOOLS::JHashMap< JHead_t, JValue_t, JEvaluator_t >, JTOOLS::JHashMap< int, JModuleAnalogueSignalProcessor >, JTOOLS::JHashMap< int, int >, JTOOLS::JHashMap< key_type, value_type >, JTOOLS::JHashMap< JACOUSTICS::JEKey, JACOUSTICS::JMODEL::JEmission >, JTOOLS::JHashMap< int, function_type >, JTOOLS::JHashMap< int, JGEOMETRY3D::JQuaternion3D >, JTOOLS::JHashMap< JHead_t, JHashMap< JTail_t, JValue_t, JEvaluator_t >, JEvaluator_t >, JTOOLS::JHashMap< int, JString >, JTOOLS::JHashMap< int, JDETECTOR::JLocation >, JTOOLS::JHashMap< JEKey, JEmission >, JTOOLS::JCollection< JElement_t, JDistance_t >, and JTOOLS::JGarbageCollection< JKey_t, JValue_t >.
|
pure virtualinherited |
Get mapped value.
key | key |
Implemented in JTOOLS::JCollection< JElement_t, JDistance_t >, JTOOLS::JHashMap< JKey_t, JValue_t, JEvaluator_t >, JTOOLS::JHashMap< int, JTOOLS::JTOOLS::JHashMap< int, JDETECTOR::JModuleAddress > >, JTOOLS::JHashMap< JHead_t, JValue_t, JEvaluator_t >, JTOOLS::JHashMap< int, JModuleAnalogueSignalProcessor >, JTOOLS::JHashMap< int, int >, JTOOLS::JHashMap< key_type, value_type >, JTOOLS::JHashMap< JACOUSTICS::JEKey, JACOUSTICS::JMODEL::JEmission >, JTOOLS::JHashMap< int, function_type >, JTOOLS::JHashMap< int, JGEOMETRY3D::JQuaternion3D >, JTOOLS::JHashMap< JHead_t, JHashMap< JTail_t, JValue_t, JEvaluator_t >, JEvaluator_t >, JTOOLS::JHashMap< int, JString >, JTOOLS::JHashMap< int, JDETECTOR::JLocation >, JTOOLS::JHashMap< JEKey, JEmission >, and JTOOLS::JGarbageCollection< JKey_t, JValue_t >.
|
inlineoverridevirtualinherited |
Get number of elements.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
Definition at line 197 of file JCollection.hh.
|
inlineoverridevirtualinherited |
Get abscissa value.
index | index |
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
Definition at line 209 of file JCollection.hh.
|
inlineoverridevirtualinherited |
Get minimal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
Definition at line 220 of file JCollection.hh.
|
inlineoverridevirtualinherited |
Get maximal abscissa value.
Implements JTOOLS::JAbstractCollection< JAbscissa_t >.
Definition at line 231 of file JCollection.hh.
|
inlineinherited |
Get ordinate value.
index | index |
Definition at line 244 of file JCollection.hh.
|
inlineinherited |
Get ordinate value.
index | index |
Definition at line 256 of file JCollection.hh.
|
inlineinherited |
Transform collection.
transformer | element transformer |
Definition at line 267 of file JCollection.hh.
|
inlineinherited |
Sort elements.
Definition at line 280 of file JCollection.hh.
|
inlineinherited |
Insert element.
element | element |
Definition at line 316 of file JCollection.hh.
|
inlineinherited |
Configure collection.
bounds | abscissa values |
Definition at line 332 of file JCollection.hh.
|
inlineinherited |
Configure collection.
bounds | abscissa values |
value | ordinate value |
Definition at line 344 of file JCollection.hh.
|
inlineinherited |
Configure collection.
bounds | abscissa values |
function | function |
Definition at line 365 of file JCollection.hh.
|
inlineinherited |
Test whether collections are compatible.
collection | collection |
Definition at line 394 of file JCollection.hh.
|
inlineinherited |
Negate collection.
Definition at line 436 of file JCollection.hh.
|
inlineinherited |
Add collection.
collection | collection |
Definition at line 452 of file JCollection.hh.
|
inlineinherited |
Add offset.
value | offset |
Definition at line 600 of file JCollection.hh.
|
inlineinherited |
Add function.
function | function |
Definition at line 633 of file JCollection.hh.
|
inlineinherited |
Subtract collection.
collection | collection |
Definition at line 508 of file JCollection.hh.
|
inlineinherited |
Subtract offset.
value | offset |
Definition at line 616 of file JCollection.hh.
|
inlineinherited |
Subtract function.
function | function |
Definition at line 650 of file JCollection.hh.
|
inlineinherited |
Scale contents.
value | multiplication factor |
Definition at line 568 of file JCollection.hh.
|
inlineinherited |
|
inlineinherited |
Scale contents.
value | division factor |
Definition at line 584 of file JCollection.hh.
|
inlineinherited |
Get comparator.
Definition at line 764 of file JCollection.hh.
|
inlineprotectedinherited |
|
inlineinherited |
Get mapped value.
key | key |
Definition at line 73 of file JMappableCollection.hh.
|
inlineinherited |
Get mapped value.
key | key |
Definition at line 85 of file JMappableCollection.hh.
|
inlineinherited |
Put pair-wise element (key,value) into collection.
key | key |
value | value |
Definition at line 97 of file JMappableCollection.hh.
|
inlineinherited |
Test whether abstract collections are equal.
collection | abstract collection |
Definition at line 72 of file JAbstractCollection.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 |
Get supervisor.
Definition at line 281 of file JFunctional.hh.
|
inlineinherited |
Get exception handler.
Definition at line 292 of file JFunctional.hh.
|
inlineinherited |
Set the supervisor for handling of exceptions.
supervisor | supervisor |
Definition at line 303 of file JFunctional.hh.
|
inherited |
Function object for distance evaluation.
Definition at line 773 of file JCollection.hh.
|
protectedinherited |
Function object for comparison.
Definition at line 780 of file JCollection.hh.
|
protectedinherited |
Definition at line 310 of file JFunctional.hh.