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

Generator of reals on a beta distribution. More...

#include <NormalExp.h>

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

Public Types

using Scalar = _Scalar
 

Public Member Functions

 BetaGen (_Scalar _a=1, _Scalar _b=1)
 Construct a new beta generator. More...
 
 BetaGen (const BetaGen &)=default
 
 BetaGen (BetaGen &&)=default
 
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< BetaGen< _Scalar >, _Scalar >
const CwiseNullaryOp< internal::scalar_rng_adaptor< BetaGen< _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< BetaGen< _Scalar > &, _Scalar, Urng >, const Derived > generateLike (const Derived &o, Urng &&urng)
 generate random values from its distribution More...
 

Detailed Description

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

Generator of reals on a beta distribution.

Template Parameters
_Scalar

Constructor & Destructor Documentation

◆ BetaGen()

template<typename _Scalar >
Eigen::Rand::BetaGen< _Scalar >::BetaGen ( _Scalar  _a = 1,
_Scalar  _b = 1 
)
inline

Construct a new beta generator.

Parameters
_a,_bshape parameter

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