• Excellent post, both for the concise definitions and the code explanations.

    For the Poisson distributions consider the use of a CLR. That my eliminate the side-effects issue.

    ------------
    Buy the ticket, take the ride. -- Hunter S. Thompson