interpolate linearly between two given values
#include <dumux/common/math.hh>
|
| template<class Scalar > |
| static constexpr Scalar | interpolate (Scalar ip, const std::array< Scalar, 2 > ¶ms) |
| | interpolate linearly between two given values More...
|
| |
◆ interpolate()
template<class Scalar >
| static constexpr Scalar Dumux::InterpolationPolicy::Linear::interpolate |
( |
Scalar |
ip, |
|
|
const std::array< Scalar, 2 > & |
params |
|
) |
| |
|
inlinestaticconstexpr |
- Parameters
-
| ip | the interpolation point in [0,1] |
| params | array with the lower and upper bound |
The documentation for this struct was generated from the following file: