EigenRand
0.5.0
|
Generator of reals in a range [a, b)
More...
#include <Basic.h>
Public Types | |
using | Scalar = _Scalar |
Public Member Functions | |
UniformRealGen (_Scalar _min=0, _Scalar _max=1) | |
UniformRealGen (const UniformRealGen &)=default | |
UniformRealGen (UniformRealGen &&)=default | |
UniformRealGen & | operator= (const UniformRealGen &)=default |
UniformRealGen & | operator= (UniformRealGen &&)=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< UniformRealGen< _Scalar >, _Scalar > | |
const CwiseNullaryOp< internal::scalar_rng_adaptor< UniformRealGen< _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< UniformRealGen< _Scalar > &, _Scalar, Urng >, const Derived > | generateLike (const Derived &o, Urng &&urng) |
generate random values from its distribution More... | |
Generator of reals in a range [a, b)
_Scalar | any real type |