Gamma Distribution in Boost

Posted by Kamchatka on Stack Overflow See other posts from Stack Overflow or by Kamchatka
Published on 2010-03-26T20:21:04Z Indexed on 2010/03/26 20:23 UTC
Read the original article Hit count: 354

Hello,

I'm trying to use the Gamma distribution from boost::math but it looks like it isn't possible to use it with boost::variate_generator. Could someone confirm that? Or is there a way to use it.

I discovered that there is a boost::gamma_distribution undocumented that could probably be used too but it only allows to choose the alpha parameter from the distribution and not the beta.

Thanks!

© Stack Overflow or respective owner

Related posts about random-number-generator

Related posts about boost