Warning
This page was created from a pull request.
jax.random.maxwellΒΆ
-
jax.random.
maxwell
(key, shape=(), dtype=<class 'numpy.float64'>)[source]ΒΆ Sample from a one sided Maxwell distribution.
The scipy counterpart is scipy.stats.maxwell.
- Parameters
key β a PRNGKey key.
shape β The shape of the returned samples.
dtype β The type used for samples.
- Returns
A jnp.array of samples, of shape shape.