DUECA/DUSIME
Public Member Functions | List of all members
dueca::Interpolator1< T > Class Template Reference

Interpolator object. More...

Public Member Functions

 Interpolator1 (const InterpIndex< T > &index1)
 Constructor. More...
 
 ~Interpolator1 ()
 Destructor.
 
void updateIndices (const T &val1)
 re-calculate the indices and fractions
 
const T getValue (const InterpTable1< T, InterpIndex< T > > &table) const
 use this knowledge to read out a table. More...
 

Detailed Description

template<class T>
class dueca::Interpolator1< T >

Interpolator object.

Objects of this class do linear interpolation in tables with one dimension, of which the index is given by an interpolation index object.

Constructor & Destructor Documentation

◆ Interpolator1()

template<class T >
dueca::Interpolator1< T >::Interpolator1 ( const InterpIndex< T > &  index1)

Constructor.

Member Function Documentation

◆ getValue()

template<class T >
const T dueca::Interpolator1< T >::getValue ( const InterpTable1< T, InterpIndex< T > > &  table) const

use this knowledge to read out a table.


The documentation for this class was generated from the following file: