interpolate linearly in a piecewise linear function (tabularized function) More...
#include <dumux/common/math.hh>
interpolate linearly in a piecewise linear function (tabularized function)
Static Public Member Functions | |
| template<class Scalar, class RandomAccessContainer> | |
| static constexpr Scalar | interpolate (Scalar ip, const std::pair< RandomAccessContainer, RandomAccessContainer > &table) |
| interpolate linearly in a piecewise linear function (tabularized function) | |
|
inlinestaticconstexpr |
interpolate linearly in a piecewise linear function (tabularized function)
| ip | the interpolation point |
| table | the table as a pair of sorted vectors (have to be same size) |