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

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

#include <NormalExp.h>

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

Public Types

using Scalar = _Scalar
 

Public Member Functions

 WeibullGen (_Scalar _a=1, _Scalar _b=1)
 Construct a new Weibull generator. More...
 
 WeibullGen (const WeibullGen &)=default
 
 WeibullGen (WeibullGen &&)=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< WeibullGen< _Scalar >, _Scalar >
const CwiseNullaryOp< internal::scalar_rng_adaptor< WeibullGen< _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< WeibullGen< _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::WeibullGen< _Scalar >

Generator of reals on a Weibull distribution.

Template Parameters
_Scalar

Constructor & Destructor Documentation

◆ WeibullGen()

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

Construct a new Weibull generator.

Parameters
_ashape parameter of the distribution
_bscale parameter of the distribution

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