EigenRand  0.5.0
 
Loading...
Searching...
No Matches
GammaPoisson.h File Reference
#include <memory>
#include <iterator>
#include <limits>
Include dependency graph for GammaPoisson.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Eigen::Rand::NegativeBinomialGen< _Scalar >
 Generator of integers on a negative binomial distribution. More...
 

Namespaces

namespace  Eigen::Rand
 namespace for EigenRand
 

Typedefs

template<typename Derived , typename Urng >
using Eigen::Rand::NegativeBinomialType = CwiseNullaryOp< internal::scalar_rng_adaptor< NegativeBinomialGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 

Functions

template<typename Derived , typename Urng >
const NegativeBinomialType< Derived, Urng > Eigen::Rand::negativeBinomial (Index rows, Index cols, Urng &&urng, typename Derived::Scalar trials=1, double p=0.5)
 generates reals on the negative binomial distribution. More...
 
template<typename Derived , typename Urng >
const NegativeBinomialType< Derived, Urng > Eigen::Rand::negativeBinomialLike (Derived &o, Urng &&urng, typename Derived::Scalar trials=1, double p=0.5)
 generates reals on the negative binomial distribution. More...
 

Detailed Description

Author
bab2min (bab2m.nosp@m.in@g.nosp@m.mail..nosp@m.com)
Version
0.5.0
Date
2023-01-31