NearestInterpolation

public static class NearestInterpolation
Nearest neighbour block interpolation.

Methods

Interpolate

#
public static IInterpolation Interpolate(double[] x, double[] y)
Create a block interpolation from unsorted samples.
x (double[])
y (double[])

InterpolateSorted

#
public static IInterpolation InterpolateSorted(double[] x, double[] y)
Create a block interpolation from sorted samples.
x (double[])
y (double[])