TransformedInterpolationInterpolateSorted Method |
Create a transformed interpolation from a set of (x,y) value pairs, sorted ascendingly by x.
The values are transformed using transformInverse before interpolation and the resulting
interpolant will apply transform to the interpolated values.
Namespace: Altaxo.Calc.InterpolationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static TransformedInterpolation InterpolateSorted(
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, sorted ascendingly.
- y Double
- Sample values corresponding to x.
Return Value
TransformedInterpolationThe transformed interpolator.
See Also