EigenRand  0.5.0
 
Loading...
Searching...
No Matches
Eigen::Rand::ExponentialGen< _Scalar > Class Template Reference

Generator of reals on an exponential distribution. More...

#include <NormalExp.h>

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

Public Types

using Scalar = _Scalar
 

Public Member Functions

 ExponentialGen (_Scalar _lambda=1)
 Construct a new exponential generator. More...
 
 ExponentialGen (const ExponentialGen &)=default
 
 ExponentialGen (ExponentialGen &&)=default
 
ExponentialGenoperator= (const ExponentialGen &)=default
 
ExponentialGenoperator= (ExponentialGen &&)=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< ExponentialGen< _Scalar >, _Scalar >
const CwiseNullaryOp< internal::scalar_rng_adaptor< ExponentialGen< _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< ExponentialGen< _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::ExponentialGen< _Scalar >

Generator of reals on an exponential distribution.

Template Parameters
_Scalar

Constructor & Destructor Documentation

◆ ExponentialGen()

template<typename _Scalar >
Eigen::Rand::ExponentialGen< _Scalar >::ExponentialGen ( _Scalar  _lambda = 1)
inline

Construct a new exponential generator.

Parameters
_lambdascale parameter of the distribution

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