EigenRand
0.5.0
|
Generator of reals on a Weibull distribution. More...
#include <NormalExp.h>
Public Types | |
using | Scalar = _Scalar |
Public Member Functions | |
WeibullGen (_Scalar _a=1, _Scalar _b=1) | |
Construct a new Weibull generator. | |
WeibullGen (const WeibullGen &)=default | |
WeibullGen (WeibullGen &&)=default | |
WeibullGen & | operator= (const WeibullGen &)=default |
WeibullGen & | operator= (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) |
![]() | |
WeibullGen< _Scalar > & | derived () |
Return a reference to the derived type. | |
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 | |
const CwiseNullaryOp< internal::scalar_rng_adaptor< WeibullGen< _Scalar > &, _Scalar, Urng >, const Derived > | generateLike (const Derived &o, Urng &&urng) |
generate random values from its distribution | |
Generator of reals on a Weibull distribution.
_Scalar |
|
inline |
Construct a new Weibull generator.
_a | shape parameter of the distribution |
_b | scale parameter of the distribution |