GaussianInterpolation

public sealed class GaussianInterpolation : IInterpolation
Non-coincident interpolation using a bunch of samples weighted by distance. This interpolation scheme is used in the Gradient class.

Constructors

GaussianInterpolation

#
public GaussianInterpolation(double[] x, double[] y)
Create a new gaussian interpolator.
x (double[])X values of crests.
y (double[])Y values of crests.

GaussianInterpolation

#
public GaussianInterpolation(double[] x, double[] yLeft, double[] yRight)
Create a new gaussian interpolator.
x (double[])X values of crests.
yLeft (double[])Y values to the left of crests.
yRight (double[])Y values to the right of crests.

Properties

SupportsDifferentiation

#
public bool SupportsDifferentiation { get; }
Gets a value indicating whether the algorithm supports differentiation (interpolated derivative).

SupportsIntegration

#
public bool SupportsIntegration { get; }
Gets a value indicating whether the algorithm supports integration (interpolated quadrature).

Methods

Interpolate

#
public double Interpolate(double t)
Interpolate at point t.
t (double)Point t to interpolate at.
Interpolated value x(t).
Explicit

IInterpolation.Differentiate

#
double IInterpolation.Differentiate(double t)
t (double)
Explicit

IInterpolation.Differentiate2

#
double IInterpolation.Differentiate2(double t)
t (double)
Explicit

IInterpolation.Integrate

#
double IInterpolation.Integrate(double a, double b)
a (double)
b (double)
Explicit

IInterpolation.Integrate

#
double IInterpolation.Integrate(double t)
t (double)