dpnp.random.lognormal

dpnp.random.lognormal(mean=0.0, sigma=1.0, size=None)[source]

Draw samples from a log-normal distribution.

For full documentation refer to numpy.random.lognormal.

Limitations

Parameters mean and sigma are supported as scalar. Otherwise, numpy.random.lognormal(mean, sigma, size) samples are drawn. Output array data type is dpnp.float64.

Examples

Draw samples from the distribution:

>>> mu, sigma = 3., 1. # mean and standard deviation
>>> s = dpnp.random.lognormal(mu, sigma, 1000)