Transform a sequence of uniform random numbesr in the interval [0, 1)
into a sequence of lognormal random numbers with mean mu and standard
deviation sigma.
(with-monad state-m
(defn lognormal
"Transform a sequence of uniform random numbesr in the interval [0, 1)
into a sequence of lognormal random numbers with mean mu and standard
deviation sigma."
[mu sigma]
(m-fmap #(. Math exp %) (normal mu sigma))))
Comments top
No comments for lognormal. Log in to add a comment.