ILNumerics Ultimate VS

SplineInterpolatorDoubleApply Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Interpolate values at new query points, based on the same set of data used for creating this interpolator.

[ILNumerics Interpolation Toolbox]

Namespace:  ILNumerics.Toolboxes
Assembly:  ILNumerics.Toolboxes.Interpolation (in ILNumerics.Toolboxes.Interpolation.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public override RetArray<double> Apply(
	InArray<double> Xn,
	InCell arguments = null
)

Parameters

Xn
Type: ILNumericsInArrayDouble
Query points, specified as a vector or array of real numbers.
arguments (Optional)
Type: ILNumericsInCell
(ignored)

Return Value

Type: RetArrayDouble
Interpolated data, see remarks for size details.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf an input parameter is null.
Remarks

Xn defines new positions for the interpolation based on the original set of data as provided to the constructor. The shape of Xn is not taken into account. If Xn is not a vector, its values are read in sequential order.

The array returned will have the same shape as V, except the working dimension of V is replaced with n interpolated values, n = Xn.S.NumberOfElements. The 'working dimension' of V is 1 if V is a row vector, 0 otherwise.

[ILNumerics Interpolation Toolbox]

Examples

using (var interp = new PolynomialInterpolator(x, y)) 
{ 
    Array<double> yq = interp.Apply(xq);
}

See Also

Reference