Click or drag to resize

InterpolatePolynomialEquidistant Method

Create a barycentric polynomial interpolation where the given sample points are equidistant.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static IInterpolation PolynomialEquidistant(
	IEnumerable<double> points,
	IEnumerable<double> values
)

Parameters

points  IEnumerableDouble
The sample points t, must be equidistant.
values  IEnumerableDouble
The sample point values x(t).

Return Value

IInterpolation
An interpolation scheme optimized for the given sample points and values, which can then be used to compute interpolations and extrapolations on arbitrary points.
Remarks
if your data is already sorted in arrays, consider to use MathNet.Numerics.Interpolation.Barycentric.InterpolatePolynomialEquidistantSorted instead, which is more efficient.
See Also