Click or drag to resize
DigitalRuneInterpolationHelperHermiteSmoothStep Method (Double)
Computes the Hermite smooth step function (double-precision).

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static double HermiteSmoothStep(
	double x
)

Parameters

x
Type: SystemDouble
The argument x.

Return Value

Type: Double
The function value y.
Remarks

This functions can be visualized as an S-shaped curve based on a Hermite base function: y = x2 ( 3 - 2x ). (This polynomial is one of the base functions of the cubic Hermite spline.)

The function value y goes from 0 to 1 as x goes from 0 to 1. y = 0 for x < 0 and y = 1 for x > 1.

See Also