By Topic

Pay me now or pay me later [computer programming techniques]

Sign In

Cookies must be enabled to login.After enabling cookies , please use refresh or reload or ctrl+f5 on the browser for the login options.

Formats Non-Member Member
$31 $13
Learn how you can qualify for the best price for this item!
Become an IEEE Member or Subscribe to
IEEE Xplore for exclusive pricing!
close button

puzzle piece

IEEE membership options for an individual and IEEE Xplore subscriptions for an organization offer the most affordable access to essential journal articles, conference papers, standards, eBooks, and eLearning courses.

Learn more about:

IEEE membership

IEEE Xplore subscriptions

2 Author(s)
Beichl, I. ; Lab. of Inf. Technol., Nat. Inst. of Stand. & Technol., Gaithersburg, MD ; Sullivan, F.

A colleague of the authors recently asked for a way to sample from a Poisson distribution to simulate the way metallic flakes cluster in paint. The flakes aren't distributed uniformly at random throughout the paint binder but form clusters around center points. The number of flakes around a center is distributed like the Poisson distribution. The article presents three ways to sample from the Poisson distribution. We describe the usual method, a faster method that uses some preprocessing, and an even faster method with more preprocessing. The last two methods work with any discrete probability distribution. Depending on how often we need to generate samples, paying extra for a deluxe model of sample generation might be worth it

Published in:

Computing in Science & Engineering  (Volume:1 ,  Issue: 4 )