#include <Interpolators.h>
|
| virtual Y | getValue (const X x1, const Y y1, const X x2, const Y y2, const X x) const override |
| | Returns the interpolated value for the given x. More...
|
| |
| virtual Y | getMin (const X x1, const Y y1, const X x2, const Y y2) const override |
| | Returns the minimum interpolated value in the closed interval of [x1, x2]. More...
|
| |
| virtual Y | getMax (const X x1, const Y y1, const X x2, const Y y2) const override |
| | Returns the maximum interpolated value in the closed interval of [x1, x2]. More...
|
| |
| virtual | ~IInterpolator () |
| |
◆ getValue()
template<typename X , typename Y >
Returns the interpolated value for the given x.
The value of x must fall into the closed interval [x1, x2].
Implements inet::math::IInterpolator< X, Y >.
104 ASSERT(x1 <= x && x <= x2);
105 return (y1 + y2) / 2;
◆ singleton
template<typename X , typename Y >
The documentation for this class was generated from the following file: