brainpy.math.random.maxwell

Contents

brainpy.math.random.maxwell#

brainpy.math.random.maxwell(size=None, key=None)[source]#

Sample from a one sided Maxwell distribution.

The scipy counterpart is scipy.stats.maxwell.

Parameters:
Returns:

A jnp.array of samples, of shape shape.