jax.numpy.sinc#

jax.numpy.sinc(x)[source]#

Return the normalized sinc function.

LAX-backend implementation of numpy.sinc().

Original docstring below.

The sinc function is equal to \(\sin(\pi x)/(\pi x)\) for any argument \(x\ne 0\). sinc(0) takes the limit value 1, making sinc not only everywhere continuous but also infinitely differentiable.

Note

Note the normalization factor of pi used in the definition. This is the most commonly used definition in signal processing. Use sinc(x / np.pi) to obtain the unnormalized sinc function \(\sin(x)/x\) that is more common in mathematics.

Parameters

x (ndarray) – Array (possibly multi-dimensional) of values for which to calculate sinc(x).

Returns

outsinc(x), which has the same shape as the input.

Return type

ndarray

References

1

Weisstein, Eric W. “Sinc Function.” From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/SincFunction.html

2

Wikipedia, “Sinc function”, https://en.wikipedia.org/wiki/Sinc_function