LinearInterpolationInterpolate(Double, Double, Double, Double, Double) Method |
Linearly interpolates between two points (x0, y0) and (x1, y1) at x.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double Interpolate(
double x,
double x0,
double x1,
double y0,
double y1
)
Parameters
- x Double
- The x position to interpolate at.
- x0 Double
- The left x value.
- x1 Double
- The right x value.
- y0 Double
- The left y value.
- y1 Double
- The right y value.
Return Value
DoubleThe interpolated y value.
See Also