jax.random.double_sided_maxwell#

jax.random.double_sided_maxwell(key, loc, scale, shape=(), dtype=<class 'numpy.float64'>)[source]#

Sample from a double sided Maxwell distribution.

Samples using:

loc + scale* sgn(U-0.5)* one_sided_maxwell U~Unif;

Parameters
Return type

Array

Returns

A jnp.array of samples.