Generate a pseudorandom number from a triangular distribution on the interval (0,1).
A double
which specifies a pseudorandom number from a triangular distribution on the interval (0,1).
The probability density function is , for , and , for . NextTriangular
uses an inverse CDF technique.
Random Class | Imsl.Stat Namespace | Example