TMatrix.Linterp Method

Performs interpolation by means of piecewise linear spline.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public double Linterp(
	double[] x,
	double[] y,
	double pnt
)

Parameters

x  Double[]
X-coordinates of the known points.
y  Double[]
Y-coordinates of the known points.
pnt  Double
X-coordinate of the point to get the value at.

Return Value

Double
Y-coordinate of the point with X-coordinate pnt.

See Also