Generator of integers on a binomial distribution.
More...
#include <Discrete.h>
|
| BinomialGen (_Scalar _trials=1, double _p=0.5) |
| Construct a new Binomial Generator. More...
|
|
template<typename Rng > |
EIGEN_STRONG_INLINE const _Scalar | operator() (Rng &&rng) |
|
template<typename Packet , typename Rng > |
EIGEN_STRONG_INLINE const Packet | packetOp (Rng &&rng) |
|
template<typename _Scalar>
class Eigen::Rand::BinomialGen< _Scalar >
Generator of integers on a binomial distribution.
- Template Parameters
-
◆ BinomialGen()
template<typename _Scalar >
Construct a new Binomial Generator.
- Parameters
-
_trials | the number of trials |
_p | probability of a trial generating true |
The documentation for this class was generated from the following file: