jax.scipy.special.bernoulli#
- jax.scipy.special.bernoulli(n)[source]#
Bernoulli numbers B0..Bn (inclusive).
LAX-backend implementation of
scipy.special.bernoulli().Original docstring below.
- Parameters:
n (int) – Indicated the number of terms in the Bernoulli series to generate.
- Returns:
The Bernoulli numbers
[B(0), B(1), ..., B(n)].- Return type:
ndarray
References