Interpolation Class
Provides static methods for quick interpolation of tabulated data.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
public static class Interpolation- Inheritance
- Object → Interpolation
Remarks
The Interpolation class provides a set of static methods for fast, single-point evaluation of common interpolation schemes. These methods operate directly on arrays and perform no allocations, making them suitable for performance-critical scenarios where a reusable curve object is not needed.
For scenarios requiring repeated evaluation, resampling, or additional operations like differentiation and integration, use the curve generator factory methods that return concrete curve types from the Numerics.NET.Curves namespace.
Methods
| Akima | Performs Akima spline interpolation at a single point. |
| Akima | Creates an Akima cubic spline curve from the specified data points. |
| Circular | Performs circular/angular linear interpolation at a single point. |
| Circular | Creates a piecewise linear interpolating curve for circular/angular data. |
| Circular | Creates a piecewise linear interpolating curve for circular/angular data. |
| Cubic | Performs natural cubic spline interpolation at a single point. |
| Cubic | Creates a natural cubic spline curve from the specified data points. |
| Cubic | Creates a cubic spline curve from the specified data points with the specified spline kind. |
| Inverse | Performs inverse linear interpolation to find the x-coordinate for a given y-value. |
| Inverse | Performs inverse linear interpolation to find the x-coordinate for a given y-value. |
| Inverse | Performs inverse linear interpolation to find the smallest x-coordinate ≥ a reference value where the interpolated curve equals a given y-value. |
| Inverse | Performs inverse linear interpolation to find the smallest x-coordinate ≥ a reference value where the interpolated curve equals a given y-value. |
| Inverse | Performs inverse linear interpolation to find the largest x-coordinate ≤ a reference value where the interpolated curve equals a given y-value. |
| Inverse | Performs inverse linear interpolation to find the largest x-coordinate ≤ a reference value where the interpolated curve equals a given y-value. |
| Inverse | Performs inverse linear interpolation to find the x-coordinate closest to a reference value where the interpolated curve equals a given y-value. |
| Inverse | Performs inverse linear interpolation to find the x-coordinate closest to a reference value where the interpolated curve equals a given y-value. |
| Linear | Performs linear interpolation at a single point. |
| Logit | Performs logit-linear interpolation at a single point. |
| Logit | Creates a piecewise linear interpolating curve with logit transformation on the y-axis. |
| Logit | Creates a piecewise linear interpolating curve with logit transformation on the y-axis. |
| Log | Performs log-linear interpolation at a single point. |
| Log | Creates a piecewise linear interpolating curve with logarithmic x-axis scaling. |
| Log | Creates a piecewise linear interpolating curve with logarithmic x-axis scaling. |
| Log | Performs log-log interpolation at a single point. |
| Log | Creates a piecewise linear interpolating curve with logarithmic scaling on both axes. |
| Log | Creates a piecewise linear interpolating curve with logarithmic scaling on both axes. |
| Monotone | Performs monotone cubic spline interpolation at a single point. |
| Monotone | Creates a monotone cubic spline curve from the specified data points. |
| Nearest | Performs nearest-neighbor interpolation at a single point. |
| Next | Performs next-value (step right) interpolation at a single point. |
| Periodic | Performs periodic linear interpolation at a single point. |
| Periodic | Creates a periodic piecewise linear interpolating curve. |
| Periodic | Creates a periodic piecewise linear interpolating curve. |
| Piecewise | Creates a piecewise constant curve from the specified data points. |
| Piecewise | Creates a piecewise linear curve from the specified data points. |
| Previous | Performs previous-value (step left) interpolation at a single point. |
| Resample | Resamples an interpolator at the specified x-coordinates. |
| Resample | Resamples an interpolator at the specified x-coordinates into a pre-allocated buffer. |