jax.numpy.blackman#

jax.numpy.blackman(M)[source]#

Return a Blackman window of size M.

JAX implementation of numpy.blackman().

Parameters:

M (int) – The window size.

Returns:

An array of size M containing the Blackman window.

Return type:

Array

Examples

>>> with jnp.printoptions(precision=2, suppress=True):
...   print(jnp.blackman(4))
[-0.    0.63  0.63 -0.  ]

See also