EigenRand  0.3.0
Eigen::Rand::PoissonGen< _Scalar > Class Template Reference

Generator of integers on a Poisson distribution. More...

#include <Discrete.h>

Inheritance diagram for Eigen::Rand::PoissonGen< _Scalar >:
Collaboration diagram for Eigen::Rand::PoissonGen< _Scalar >:

Public Types

using Scalar = _Scalar
 

Public Member Functions

 PoissonGen (double _mean)
 Construct a new Poisson 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)
 
- Public Member Functions inherited from Eigen::Rand::GenBase< PoissonGen< _Scalar >, _Scalar >
const CwiseNullaryOp< internal::scalar_rng_adaptor< PoissonGen< _Scalar > &, _Scalar, Urng >, const Derived > generate (Index rows, Index cols, Urng &&urng)
 generate random values from its distribution More...
 
const CwiseNullaryOp< internal::scalar_rng_adaptor< PoissonGen< _Scalar > &, _Scalar, Urng >, const Derived > generateLike (const Derived &o, Urng &&urng)
 generate random values from its distribution More...
 

Protected Attributes

double mean
 
double ne_mean
 
double sqrt_tmean
 
double log_mean
 
double g1
 

Detailed Description

template<typename _Scalar>
class Eigen::Rand::PoissonGen< _Scalar >

Generator of integers on a Poisson distribution.

Template Parameters
_Scalar

Constructor & Destructor Documentation

◆ PoissonGen()

template<typename _Scalar >
Eigen::Rand::PoissonGen< _Scalar >::PoissonGen ( double  _mean)
inline

Construct a new Poisson Generator.

Parameters
_meanmean of the distribution

The documentation for this class was generated from the following file: