DUECA/DUSIME
|
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... | |
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.
dueca::Interpolator1< T >::Interpolator1 | ( | const InterpIndex< T > & | index1 | ) |
Constructor.
const T dueca::Interpolator1< T >::getValue | ( | const InterpTable1< T, InterpIndex< T > > & | table | ) | const |
use this knowledge to read out a table.