interpolate linearly between two given values More...
#include <dumux/common/math.hh>
interpolate linearly between two given values
Static Public Member Functions | |
template<class Scalar > | |
static constexpr Scalar | interpolate (Scalar ip, const std::array< Scalar, 2 > ¶ms) |
interpolate linearly between two given values More... | |
|
inlinestaticconstexpr |
interpolate linearly between two given values
ip | the interpolation point in [0,1] |
params | array with the lower and upper bound |