namespace for EigenRand More...
Classes | |
class | MersenneTwister |
A vectorized version of Mersenne Twister Engine. More... | |
class | PacketRandomEngineAdaptor |
Scalar adaptor for random engines which generates packet. More... | |
Typedefs | |
template<typename Derived , typename Urng > | |
using | RandBitsType = CwiseNullaryOp< internal::scalar_randbits_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | UniformIntType = CwiseNullaryOp< internal::scalar_uniform_int_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | BalancedType = CwiseNullaryOp< internal::scalar_balanced_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | UniformRealType = CwiseNullaryOp< internal::scalar_uniform_real_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | NormalType = CwiseNullaryOp< internal::scalar_norm_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | Normal2Type = CwiseNullaryOp< internal::scalar_norm_dist2_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | LognormalType = CwiseNullaryOp< internal::scalar_lognorm_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | ExponentialType = CwiseNullaryOp< internal::scalar_exp_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | GammaType = CwiseNullaryOp< internal::scalar_gamma_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | WeibullType = CwiseNullaryOp< internal::scalar_weibull_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | ExtremeValueType = CwiseNullaryOp< internal::scalar_extreme_value_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | ChiSquaredType = CwiseNullaryOp< internal::scalar_chi_squared_dist_op< typename Derived::Scalar, Urng >, const Derived > |
template<typename Derived , typename Urng > | |
using | DiscreteFType = CwiseNullaryOp< internal::scalar_discrete_dist_op< typename Derived::Scalar, Urng, float >, const Derived > |
template<typename Derived , typename Urng > | |
using | DiscreteDType = CwiseNullaryOp< internal::scalar_discrete_dist_op< typename Derived::Scalar, Urng, double >, const Derived > |
template<typename Derived , typename Urng > | |
using | DiscreteType = CwiseNullaryOp< internal::scalar_discrete_dist_op< typename Derived::Scalar, Urng, int32_t >, const Derived > |
template<typename Packet > | |
using | Pmt19937_64 = MersenneTwister< Packet, 312, 156, 31, 0xb5026f5aa96619e9, 29, 0x5555555555555555, 17, 0x71d67fffeda60000, 37, 0xfff7eee000000000, 43, 6364136223846793005 > |
Alias of Eigen::Rand::MersenneTwister, equivalent to std::mt19937_64. More... | |
using | Vmt19937_64 = std::mt19937_64 |
same as std::mt19937_64 when EIGEN_DONT_VECTORIZE, Pmt19937_64<internal::Packet4i> when SSE2 enabled and Pmt19937_64<internal::Packet8i> when AVX2 enabled More... | |
Enumerations | |
enum | RandomEngineType { none, scalar, packet } |
Functions | |
template<typename Derived , typename Urng > | |
const RandBitsType< Derived, Urng > | randBits (Index rows, Index cols, Urng &&urng) |
generates integers with random bits More... | |
template<typename Derived , typename Urng > | |
const RandBitsType< Derived, Urng > | randBitsLike (Derived &o, Urng &&urng) |
generates integers with random bits More... | |
template<typename Derived , typename Urng > | |
const UniformIntType< Derived, Urng > | uniformInt (Index rows, Index cols, Urng &&urng, typename Derived::Scalar min, typename Derived::Scalar max) |
generates integers with a given range [min, max] More... | |
template<typename Derived , typename Urng > | |
const UniformIntType< Derived, Urng > | uniformIntLike (Derived &o, Urng &&urng, typename Derived::Scalar min, typename Derived::Scalar max) |
generates integers with a given range [min, max] More... | |
template<typename Derived , typename Urng > | |
const BalancedType< Derived, Urng > | balanced (Index rows, Index cols, Urng &&urng) |
generates reals in a range [-1, 1] More... | |
template<typename Derived , typename Urng > | |
const BalancedType< Derived, Urng > | balancedLike (const Derived &o, Urng &&urng) |
generates reals in a range [-1, 1] More... | |
template<typename Derived , typename Urng > | |
const UniformRealType< Derived, Urng > | uniformReal (Index rows, Index cols, Urng &&urng) |
generates reals in a range [0, 1) More... | |
template<typename Derived , typename Urng > | |
const UniformRealType< Derived, Urng > | uniformRealLike (Derived &o, Urng &&urng) |
generates reals in a range [0, 1) More... | |
template<typename Derived , typename Urng > | |
const NormalType< Derived, Urng > | normal (Index rows, Index cols, Urng &&urng) |
generates reals on a standard normal distribution (mean = 0, stdev =1) More... | |
template<typename Derived , typename Urng > | |
const NormalType< Derived, Urng > | normalLike (Derived &o, Urng &&urng) |
generates reals on a standard normal distribution (mean = 0, stdev =1) More... | |
template<typename Derived , typename Urng > | |
const Normal2Type< Derived, Urng > | normal (Index rows, Index cols, Urng &&urng, typename Derived::Scalar mean, typename Derived::Scalar stdev=1) |
generates reals on a normal distribution with arbitrary mean and stdev . More... | |
template<typename Derived , typename Urng > | |
const Normal2Type< Derived, Urng > | normalLike (Derived &o, Urng &&urng, typename Derived::Scalar mean, typename Derived::Scalar stdev=1) |
generates reals on a normal distribution with arbitrary mean and stdev . More... | |
template<typename Derived , typename Urng > | |
const LognormalType< Derived, Urng > | lognormal (Index rows, Index cols, Urng &&urng, typename Derived::Scalar mean=0, typename Derived::Scalar stdev=1) |
generates reals on a lognormal distribution with arbitrary mean and stdev . More... | |
template<typename Derived , typename Urng > | |
const LognormalType< Derived, Urng > | lognormalLike (Derived &o, Urng &&urng, typename Derived::Scalar mean=0, typename Derived::Scalar stdev=1) |
generates reals on a lognormal distribution with arbitrary mean and stdev . More... | |
template<typename Derived , typename Urng > | |
const ExponentialType< Derived, Urng > | exponential (Index rows, Index cols, Urng &&urng, typename Derived::Scalar lambda=1) |
generates reals on an exponential distribution with arbitrary scale parameter. More... | |
template<typename Derived , typename Urng > | |
const ExponentialType< Derived, Urng > | exponentialLike (Derived &o, Urng &&urng, typename Derived::Scalar lambda=1) |
generates reals on an exponential distribution with arbitrary scale parameter. More... | |
template<typename Derived , typename Urng > | |
const GammaType< Derived, Urng > | gamma (Index rows, Index cols, Urng &&urng, typename Derived::Scalar alpha=1, typename Derived::Scalar beta=1) |
generates reals on a gamma distribution with arbitrary shape and scale parameter. More... | |
template<typename Derived , typename Urng > | |
const GammaType< Derived, Urng > | gammaLike (Derived &o, Urng &&urng, typename Derived::Scalar alpha=1, typename Derived::Scalar beta=1) |
generates reals on a gamma distribution with arbitrary shape and scale parameter. More... | |
template<typename Derived , typename Urng > | |
const WeibullType< Derived, Urng > | weibull (Index rows, Index cols, Urng &&urng, typename Derived::Scalar a=1, typename Derived::Scalar b=1) |
generates reals on a Weibull distribution with arbitrary shape and scale parameter. More... | |
template<typename Derived , typename Urng > | |
const WeibullType< Derived, Urng > | weibullLike (Derived &o, Urng &&urng, typename Derived::Scalar a=1, typename Derived::Scalar b=1) |
generates reals on a Weibull distribution with arbitrary shape and scale parameter. More... | |
template<typename Derived , typename Urng > | |
const ExtremeValueType< Derived, Urng > | extremeValue (Index rows, Index cols, Urng &&urng, typename Derived::Scalar a=0, typename Derived::Scalar b=1) |
generates reals on an extreme value distribution (a.k.a Gumbel Type I, log-Weibull, Fisher-Tippett Type I) with arbitrary shape and scale parameter. More... | |
template<typename Derived , typename Urng > | |
const ExtremeValueType< Derived, Urng > | extremeValueLike (Derived &o, Urng &&urng, typename Derived::Scalar a=0, typename Derived::Scalar b=1) |
generates reals on an extreme value distribution (a.k.a Gumbel Type I, log-Weibull, Fisher-Tippett Type I) with arbitrary shape and scale parameter. More... | |
template<typename Derived , typename Urng > | |
const ChiSquaredType< Derived, Urng > | chiSquared (Index rows, Index cols, Urng &&urng, typename Derived::Scalar n=1) |
generates reals on the Chi-squared distribution with arbitrary degrees of freedom. More... | |
template<typename Derived , typename Urng > | |
const ChiSquaredType< Derived, Urng > | chiSquaredLike (Derived &o, Urng &&urng, typename Derived::Scalar n=1) |
generates reals on the Chi-squared distribution with arbitrary degrees of freedom. More... | |
template<typename Derived , typename Urng , typename RealIter > | |
const DiscreteFType< Derived, Urng > | discreteF (Index rows, Index cols, Urng &&urng, RealIter first, RealIter last) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is float(23bit precision). More... | |
template<typename Derived , typename Urng , typename RealIter > | |
const DiscreteFType< Derived, Urng > | discreteFLike (Derived &o, Urng &&urng, RealIter first, RealIter last) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is float(23bit precision). More... | |
template<typename Derived , typename Urng , typename Real > | |
const DiscreteFType< Derived, Urng > | discreteF (Index rows, Index cols, Urng &&urng, const std::initializer_list< Real > &il) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is float(23bit precision). More... | |
template<typename Derived , typename Urng , typename Real > | |
const DiscreteFType< Derived, Urng > | discreteFLike (Derived &o, Urng &&urng, const std::initializer_list< Real > &il) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is float(23bit precision). More... | |
template<typename Derived , typename Urng , typename RealIter > | |
const DiscreteDType< Derived, Urng > | discreteD (Index rows, Index cols, Urng &&urng, RealIter first, RealIter last) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is double(52bit precision). More... | |
template<typename Derived , typename Urng , typename RealIter > | |
const DiscreteDType< Derived, Urng > | discreteDLike (Derived &o, Urng &&urng, RealIter first, RealIter last) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is double(52bit precision). More... | |
template<typename Derived , typename Urng , typename Real > | |
const DiscreteDType< Derived, Urng > | discreteD (Index rows, Index cols, Urng &&urng, const std::initializer_list< Real > &il) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is double(52bit precision). More... | |
template<typename Derived , typename Urng , typename Real > | |
const DiscreteDType< Derived, Urng > | discreteDLike (Derived &o, Urng &&urng, const std::initializer_list< Real > &il) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is double(52bit precision). More... | |
template<typename Derived , typename Urng , typename RealIter > | |
const DiscreteType< Derived, Urng > | discrete (Index rows, Index cols, Urng &&urng, RealIter first, RealIter last) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is int32(32bit precision). More... | |
template<typename Derived , typename Urng , typename RealIter > | |
const DiscreteType< Derived, Urng > | discreteLike (Derived &o, Urng &&urng, RealIter first, RealIter last) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is int32(32bit precision). More... | |
template<typename Derived , typename Urng , typename Real > | |
const DiscreteType< Derived, Urng > | discrete (Index rows, Index cols, Urng &&urng, const std::initializer_list< Real > &il) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is int32(32bit precision). More... | |
template<typename Derived , typename Urng , typename Real > | |
const DiscreteType< Derived, Urng > | discreteLike (Derived &o, Urng &&urng, const std::initializer_list< Real > &il) |
generates random integers on the interval [0, n) , where the probability of each individual integer i is proportional to w(i) . The data type used for calculation of probabilities is int32(32bit precision). More... | |
template<typename UIntType , typename Rng > | |
auto | makeScalarRng (Rng &&rng) -> typename std::enable_if< IsPacketRandomEngine< typename std::remove_reference< Rng >::type >::value, PacketRandomEngineAdaptor< UIntType, typename std::remove_reference< Rng >::type > >::type |
Helper function for making a PacketRandomEngineAdaptor. More... | |
namespace for EigenRand
using Eigen::Rand::Pmt19937_64 = typedef MersenneTwister<Packet, 312, 156, 31, 0xb5026f5aa96619e9, 29, 0x5555555555555555, 17, 0x71d67fffeda60000, 37, 0xfff7eee000000000, 43, 6364136223846793005> |
Alias of Eigen::Rand::MersenneTwister, equivalent to std::mt19937_64.
Packet |
using Eigen::Rand::Vmt19937_64 = typedef std::mt19937_64 |
same as std::mt19937_64 when EIGEN_DONT_VECTORIZE, Pmt19937_64<internal::Packet4i> when SSE2 enabled and Pmt19937_64<internal::Packet8i> when AVX2 enabled
|
inline |
generates reals in a range [-1, 1]
Derived | a type of Eigen::DenseBase |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
rows
, cols
)
|
inline |
generates reals in a range [-1, 1]
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
o
|
inline |
generates reals on the Chi-squared distribution with arbitrary degrees of freedom.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
n | the degrees of freedom of the distribution |
rows
, cols
)
|
inline |
generates reals on the Chi-squared distribution with arbitrary degrees of freedom.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
n | the degrees of freedom of the distribution |
o
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is int32(32bit precision).
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
il | an instance of initializer_list containing the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
rows
, cols
)
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is int32(32bit precision).
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
first,last | the range of elements defining the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
rows
, cols
)
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is double(52bit precision).
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
il | an instance of initializer_list containing the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
rows
, cols
)
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is double(52bit precision).
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
first,last | the range of elements defining the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
rows
, cols
)
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is double(52bit precision).
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
il | an instance of initializer_list containing the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
o
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is double(52bit precision).
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
first,last | the range of elements defining the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
o
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is float(23bit precision).
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
il | an instance of initializer_list containing the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
rows
, cols
)
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is float(23bit precision).
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
first,last | the range of elements defining the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
rows
, cols
)
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is float(23bit precision).
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
il | an instance of initializer_list containing the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
o
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is float(23bit precision).
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
first,last | the range of elements defining the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
o
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is int32(32bit precision).
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
il | an instance of initializer_list containing the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
o
|
inline |
generates random integers on the interval [0, n)
, where the probability of each individual integer i
is proportional to w(i)
. The data type used for calculation of probabilities is int32(32bit precision).
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
first,last | the range of elements defining the numbers to use as weights. The type of the elements referred by RealIter must be convertible to double . |
o
|
inline |
generates reals on an exponential distribution with arbitrary scale parameter.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
lambda | a scale parameter of the distribution |
rows
, cols
)
|
inline |
generates reals on an exponential distribution with arbitrary scale parameter.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
lambda | a scale parameter of the distribution |
o
|
inline |
generates reals on an extreme value distribution (a.k.a Gumbel Type I, log-Weibull, Fisher-Tippett Type I) with arbitrary shape and scale parameter.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
a | a location parameter of the distribution |
b | a scale parameter of the distribution |
rows
, cols
)
|
inline |
generates reals on an extreme value distribution (a.k.a Gumbel Type I, log-Weibull, Fisher-Tippett Type I) with arbitrary shape and scale parameter.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
a | a location parameter of the distribution |
b | a scale parameter of the distribution |
o
|
inline |
generates reals on a gamma distribution with arbitrary shape and scale parameter.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
alpha | a shape parameter of the distribution |
beta | a scale parameter of the distribution |
rows
, cols
)
|
inline |
generates reals on a gamma distribution with arbitrary shape and scale parameter.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
alpha | a shape parameter of the distribution |
beta | a scale parameter of the distribution |
o
|
inline |
generates reals on a lognormal distribution with arbitrary mean
and stdev
.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
mean | a mean value of the distribution |
stdev | a standard deviation value of the distribution |
rows
, cols
)
|
inline |
generates reals on a lognormal distribution with arbitrary mean
and stdev
.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
mean | a mean value of the distribution |
stdev | a standard deviation value of the distribution |
o
auto Eigen::Rand::makeScalarRng | ( | Rng && | rng | ) | -> typename std::enable_if< IsPacketRandomEngine<typename std::remove_reference<Rng>::type>::value, PacketRandomEngineAdaptor<UIntType, typename std::remove_reference<Rng>::type> >::type |
Helper function for making a PacketRandomEngineAdaptor.
UIntType | |
Rng |
rng | any random number engine for either packet or scalar type |
|
inline |
generates reals on a standard normal distribution (mean
= 0, stdev
=1)
Derived | a type of Eigen::DenseBase |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
rows
, cols
)
|
inline |
generates reals on a normal distribution with arbitrary mean
and stdev
.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
mean | a mean value of the distribution |
stdev | a standard deviation value of the distribution |
rows
, cols
)
|
inline |
generates reals on a standard normal distribution (mean
= 0, stdev
=1)
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
o
|
inline |
generates reals on a normal distribution with arbitrary mean
and stdev
.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
mean | a mean value of the distribution |
stdev | a standard deviation value of the distribution |
o
|
inline |
generates integers with random bits
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
rows
, cols
)
|
inline |
generates integers with random bits
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
o
|
inline |
generates integers with a given range [min, max]
Derived | a type of Eigen::DenseBase |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
min,max | the range of integers being generated |
rows
, cols
)
|
inline |
generates integers with a given range [min, max]
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
min,max | the range of integers being generated |
o
|
inline |
generates reals in a range [0, 1)
Derived | a type of Eigen::DenseBase |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
rows
, cols
)
|
inline |
generates reals in a range [0, 1)
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
o
|
inline |
generates reals on a Weibull distribution with arbitrary shape and scale parameter.
Derived | |
Urng |
rows | the number of rows being generated |
cols | the number of columns being generated |
urng | c++11-style random number generator |
a | a shape parameter of the distribution |
b | a scale parameter of the distribution |
rows
, cols
)
|
inline |
generates reals on a Weibull distribution with arbitrary shape and scale parameter.
Derived | |
Urng |
o | an instance of any type of Eigen::DenseBase |
urng | c++11-style random number generator |
a | a shape parameter of the distribution |
b | a scale parameter of the distribution |
o