MoreMathSinc Method

Computes the sinc function.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double Sinc(
	double x
)

Parameters

x  Double
The argument.

Return Value

Double
The value of sinc(x) = sin(x) / x.

Remarks

The ratio sin(x) / x, understood to take its limiting value of 1 at x = 0, appears in many applications. This method allows you to compute it straightforwardly without having to implement the limit.

Note that in signal processing applications, the function sin(πx)/(πx) is usually used instead, and is also called the sinc function. Meta.Numerics implements it as SincPi(Double).

This function is also sometimes called the cardinal since function or the sampling function.

See Also