-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binomial distribution #498
Conversation
… in 'standard' order
… ``Utils::isRNGRequired``
Codecov Report
@@ Coverage Diff @@
## master #498 +/- ##
==========================================
+ Coverage 86.94% 87.03% +0.08%
==========================================
Files 84 84
Lines 17976 18099 +123
==========================================
+ Hits 15629 15752 +123
Misses 2347 2347
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good ... I am sure you adopted the code for the binomial right in particular if the test passed.
//! Initialises variable by sampling from the exponential distribution | ||
/*! This snippet takes 1 parameter: | ||
//! Initialises variable by sampling from the gamma distribution | ||
/*! This snippet takes s parameters: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why "s" ... looks like 2.
Added
$(gennrand_binomial)
non-uniform RNG,InitVarSnippet::Binomial
if you ever need to initialise variables with binomial distribution and extended VarInit feature test