jax.numpy.bartlett#

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

返回大小为 M 的 Bartlett 窗口。

JAX 实现的 numpy.bartlett()

参数:

M (int) – 窗口大小。

返回:

一个大小为 M 的数组,包含 Bartlett 窗口。

返回类型:

数组

示例

>>> with jnp.printoptions(precision=2, suppress=True):
...   print(jnp.bartlett(4))
[0.   0.67 0.67 0.  ]

另请参阅