SmoothStepInterpolation

public sealed class SmoothStepInterpolation : IInterpolation
GLSL-like smoothstep interpolation between a set of consecutive segments.

Constructors

SmoothStepInterpolation

#
Create a new sine interpolator.
public SmoothStepInterpolation(
x,
X values of crests.
y,
Y values of crests.
type
Step type (0=smooth, 1=smoother, 2=smoothest).
)

Properties

SupportsDifferentiation

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

SupportsIntegration

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

Methods

Differentiate

#
Differentiate at point t.
public double Differentiate(
t
Point t to interpolate at.
)
Interpolated first derivative at point t.

Differentiate2

#
Differentiate twice at point t.
public double Differentiate2(
t
Point t to interpolate at.
)
Interpolated second derivative at point t.

Integrate

#
Definite integral between points a and b.
public double Integrate(
a,
Input bound of the integration interval [a,b].
b
Right bound of the integration interval [a,b].
)

Integrate

#
Indefinite integral at point t.
public double Integrate(
t
Point t to integrate at.
)

Interpolate

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