|
DUECA/DUSIME
|
This implements a single index (axis) for an interpolation into a table. More...
Public Member Functions | |
| InterpIndex (int n, const T *ipts) | |
| Constructor from static data. More... | |
| int | maxDim () const |
| Constructor, reading from file. More... | |
| int | nDim () const |
| return the number of indexes. More... | |
| bool | updateIndex (int &index, double &frac, const T &value) const |
| update an index, and fraction, return whether within the table. More... | |
This implements a single index (axis) for an interpolation into a table.
| dueca::InterpIndex< T >::InterpIndex | ( | int | n, |
| const T * | ipts | ||
| ) |
Constructor from static data.
|
inline |
Constructor, reading from file.
return the maximum allowed value for an index
|
inline |
return the number of indexes.
|
inline |
update an index, and fraction, return whether within the table.