dpnp.random.lognormal
- dpnp.random.lognormal(mean=0.0, sigma=1.0, size=None)[source]
Lognormal distribution.
Draw samples from a log-normal distribution.
For full documentation refer to
numpy.random.lognormal.Limitations
Parameters
meanandsigmaare supported as scalar. Otherwise,numpy.random.lognormal(mean, sigma, size)samples are drawn. Output array data type isdpnp.float64.Examples
Draw samples from the distribution: >>> mu, sigma = 3., 1. # mean and standard deviation >>> s = dpnp.random.lognormal(mu, sigma, 1000)