Click or drag to resize

TransformedInterpolationInterpolateInplace Method

Create a transformed interpolation from an unsorted set of (x,y) value pairs. WARNING: Works in-place and can thus causes the data array to be reordered and modified.

Namespace: Altaxo.Calc.Interpolation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static TransformedInterpolation InterpolateInplace(
	Func<double, double> transform,
	Func<double, double> transformInverse,
	double[] x,
	double[] y
)

Parameters

transform  FuncDouble, Double
Function applied to interpolated values.
transformInverse  FuncDouble, Double
Inverse function applied to raw sample values prior to interpolation.
x  Double
Sample points (will be sorted in-place).
y  Double
Sample values corresponding to x (will be modified in-place).

Return Value

TransformedInterpolation
The transformed interpolator.
See Also