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: key (Union[int, Array, None]) – a PRNG key. size (Union[int, Sequence[int], None]) – The shape of the returned samples. dtype – The type used for samples. Returns: A jnp.array of samples, of shape shape.