panthrMath/distributions/lognormal.js
function rlnorm(meanlog, sdlog) {
      var rnorm;

      rnorm = normal.rnorm(meanlog, sdlog);

      return function() {
         return Math.exp(rnorm());
      };
   }
function rlnorm(meanlog, sdlog) {
      var rnorm;

      rnorm = normal.rnorm(meanlog, sdlog);

      return function() {
         return Math.exp(rnorm());
      };
   }
function rlnorm ( meanlog , sdlog ) { var rnorm ; rnorm = normal . rnorm ( meanlog , sdlog ) ; return function ( ) { return Math . exp ( rnorm ( ) ) ; } ; }
Returns a random variate from the lognormal distribution.

Expects $\textrm{sdlog} > 0$.

Uses a rejection polar method.
@fullName rlnorm(meanlog, sdlog)()
@memberof lognormal
Returns a random variate from the lognormal distribution .