sample

open override fun sample(random: Random): Double(source)

Draws a single random value from this log-normal distribution.

Generates a normal variate from the underlying normal distribution and exponentiates it.

Return

a random value drawn from this distribution. Always positive.

Parameters

random

the source of randomness.