|
using | OptCacheStore = CacheStore< EIGEN_MAX_ALIGN_BYTES > |
|
template<typename Derived , typename Urng > |
using | RandBitsType = CwiseNullaryOp< internal::scalar_rng_adaptor< RandbitsGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | BalancedType = CwiseNullaryOp< internal::scalar_rng_adaptor< BalancedGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | UniformRealType = CwiseNullaryOp< internal::scalar_rng_adaptor< UniformRealGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | UniformIntType = CwiseNullaryOp< internal::scalar_rng_adaptor< UniformIntGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | DiscreteFType = CwiseNullaryOp< internal::scalar_rng_adaptor< DiscreteGen< typename Derived::Scalar, float >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | DiscreteDType = CwiseNullaryOp< internal::scalar_rng_adaptor< DiscreteGen< typename Derived::Scalar, double >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | DiscreteType = CwiseNullaryOp< internal::scalar_rng_adaptor< DiscreteGen< typename Derived::Scalar, int32_t >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | PoissonType = CwiseNullaryOp< internal::scalar_rng_adaptor< PoissonGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | BinomialType = CwiseNullaryOp< internal::scalar_rng_adaptor< BinomialGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | GeometricType = CwiseNullaryOp< internal::scalar_rng_adaptor< GeometricGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | NegativeBinomialType = CwiseNullaryOp< internal::scalar_rng_adaptor< NegativeBinomialGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | BetaType = CwiseNullaryOp< internal::scalar_rng_adaptor< BetaGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | CauchyType = CwiseNullaryOp< internal::scalar_rng_adaptor< CauchyGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | NormalType = CwiseNullaryOp< internal::scalar_rng_adaptor< StdNormalGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | Normal2Type = CwiseNullaryOp< internal::scalar_rng_adaptor< NormalGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | LognormalType = CwiseNullaryOp< internal::scalar_rng_adaptor< LognormalGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | StudentTType = CwiseNullaryOp< internal::scalar_rng_adaptor< StudentTGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | ExponentialType = CwiseNullaryOp< internal::scalar_rng_adaptor< ExponentialGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | GammaType = CwiseNullaryOp< internal::scalar_rng_adaptor< GammaGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | WeibullType = CwiseNullaryOp< internal::scalar_rng_adaptor< WeibullGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | ExtremeValueType = CwiseNullaryOp< internal::scalar_rng_adaptor< ExtremeValueGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | ChiSquaredType = CwiseNullaryOp< internal::scalar_rng_adaptor< ChiSquaredGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived > |
|
template<typename Derived , typename Urng > |
using | FisherFType = CwiseNullaryOp< internal::scalar_rng_adaptor< FisherFGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, 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...
|
|
template<typename UIntType , typename BaseRng > |
using | PacketRandomEngineAdaptor = ParallelRandomEngineAdaptor< UIntType, BaseRng, sizeof(typename BaseRng::result_type)/sizeof(uint64_t)> |
| Scalar adaptor for random engines which generates packet. More...
|
|
template<typename UIntType , typename Rng > |
using | UniversalRandomEngine = typename std::conditional< IsPacketRandomEngine< typename std::remove_reference< Rng >::type >::value, PacketRandomEngineAdaptor< UIntType, typename std::remove_reference< Rng >::type >, typename std::conditional< IsScalarRandomEngine< typename std::remove_reference< Rng >::type >::value, RandomEngineWrapper< typename std::remove_reference< Rng >::type >, void >::type >::type |
|
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...
|
|
template<typename UIntType = uint64_t> |
using | P8_mt19937_64 = ParallelRandomEngineAdaptor< UIntType, Vmt19937_64, 8 > |
| a vectorized mt19937_64 which generates 8 integers of 64bit simultaneously. It always yields the same value regardless of SIMD ISA.
|
|
|
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 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 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 , 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 Derived , typename Urng > |
const PoissonType< Derived, Urng > | poisson (Index rows, Index cols, Urng &&urng, double mean=1) |
| generates reals on the Poisson distribution. More...
|
|
template<typename Derived , typename Urng > |
const PoissonType< Derived, Urng > | poissonLike (Derived &o, Urng &&urng, double mean=1) |
| generates reals on the Poisson distribution. More...
|
|
template<typename Derived , typename Urng > |
const BinomialType< Derived, Urng > | binomial (Index rows, Index cols, Urng &&urng, typename Derived::Scalar trials=1, double p=0.5) |
| generates reals on the binomial distribution. More...
|
|
template<typename Derived , typename Urng > |
const BinomialType< Derived, Urng > | binomialLike (Derived &o, Urng &&urng, typename Derived::Scalar trials=1, double p=0.5) |
| generates reals on the binomial distribution. More...
|
|
template<typename Derived , typename Urng > |
const GeometricType< Derived, Urng > | geometric (Index rows, Index cols, Urng &&urng, double p=0.5) |
| generates reals on the geometric distribution. More...
|
|
template<typename Derived , typename Urng > |
const GeometricType< Derived, Urng > | geometricLike (Derived &o, Urng &&urng, double p=0.5) |
| generates reals on the geometric distribution. More...
|
|
template<typename Derived , typename Urng > |
const NegativeBinomialType< Derived, Urng > | negativeBinomial (Index rows, Index cols, Urng &&urng, typename Derived::Scalar trials=1, double p=0.5) |
| generates reals on the negative binomial distribution. More...
|
|
template<typename Derived , typename Urng > |
const NegativeBinomialType< Derived, Urng > | negativeBinomialLike (Derived &o, Urng &&urng, typename Derived::Scalar trials=1, double p=0.5) |
| generates reals on the negative binomial distribution. More...
|
|
template<typename Derived , typename Urng > |
const BetaType< Derived, Urng > | beta (Index rows, Index cols, Urng &&urng, typename Derived::Scalar a=1, typename Derived::Scalar b=1) |
| generates reals on the beta distribution. More...
|
|
template<typename Derived , typename Urng > |
const BetaType< Derived, Urng > | betaLike (Derived &o, Urng &&urng, typename Derived::Scalar a=1, typename Derived::Scalar b=1) |
| generates reals on the beta distribution. More...
|
|
template<typename Derived , typename Urng > |
const CauchyType< Derived, Urng > | cauchy (Index rows, Index cols, Urng &&urng, typename Derived::Scalar a=0, typename Derived::Scalar b=1) |
| generates reals on the Cauchy distribution. More...
|
|
template<typename Derived , typename Urng > |
const CauchyType< Derived, Urng > | cauchyLike (Derived &o, Urng &&urng, typename Derived::Scalar a=0, typename Derived::Scalar b=1) |
| generates reals on the Cauchy distribution. 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 StudentTType< Derived, Urng > | studentT (Index rows, Index cols, Urng &&urng, typename Derived::Scalar n=1) |
| generates reals on the Student's t distribution with arbirtrary degress of freedom. More...
|
|
template<typename Derived , typename Urng > |
const StudentTType< Derived, Urng > | studentTLike (Derived &o, Urng &&urng, typename Derived::Scalar n=1) |
| generates reals on the Student's t distribution with arbirtrary degress of freedom. 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 > |
const FisherFType< Derived, Urng > | fisherF (Index rows, Index cols, Urng &&urng, typename Derived::Scalar m=1, typename Derived::Scalar n=1) |
| generates reals on the Fisher's F distribution. More...
|
|
template<typename Derived , typename Urng > |
const FisherFType< Derived, Urng > | fisherFLike (Derived &o, Urng &&urng, typename Derived::Scalar m=1, typename Derived::Scalar n=1) |
| generates reals on the Fisher's F distribution. More...
|
|
template<typename IntTy , typename WeightTy > |
auto | makeMultinomialGen (IntTy trials, const MatrixBase< WeightTy > &probs) -> MultinomialGen< IntTy, MatrixBase< WeightTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::MultinomialGen More...
|
|
template<typename AlphaTy > |
auto | makeDirichletGen (const MatrixBase< AlphaTy > &alpha) -> DirichletGen< typename MatrixBase< AlphaTy >::Scalar, MatrixBase< AlphaTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::DirichletGen More...
|
|
template<typename MeanTy , typename CovTy > |
auto | makeMvNormGen (const MatrixBase< MeanTy > &mean, const MatrixBase< CovTy > &cov) -> MvNormalGen< typename MatrixBase< MeanTy >::Scalar, MatrixBase< MeanTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::MvNormal More...
|
|
template<typename MeanTy , typename LTTy > |
auto | makeMvNormGenFromLt (const MatrixBase< MeanTy > &mean, const MatrixBase< LTTy > <) -> MvNormalGen< typename MatrixBase< MeanTy >::Scalar, MatrixBase< MeanTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::MvNormal More...
|
|
template<typename ScaleTy > |
auto | makeWishartGen (Index df, const MatrixBase< ScaleTy > &scale) -> WishartGen< typename MatrixBase< ScaleTy >::Scalar, MatrixBase< ScaleTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::WishartGen More...
|
|
template<typename LTTy > |
auto | makeWishartGenFromLt (Index df, const MatrixBase< LTTy > <) -> WishartGen< typename MatrixBase< LTTy >::Scalar, MatrixBase< LTTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::WishartGen More...
|
|
template<typename ScaleTy > |
auto | makeInvWishartGen (Index df, const MatrixBase< ScaleTy > &scale) -> InvWishartGen< typename MatrixBase< ScaleTy >::Scalar, MatrixBase< ScaleTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::InvWishartGen More...
|
|
template<typename ILTTy > |
auto | makeInvWishartGenFromIlt (Index df, const MatrixBase< ILTTy > &ilt) -> InvWishartGen< typename MatrixBase< ILTTy >::Scalar, MatrixBase< ILTTy >::RowsAtCompileTime > |
| helper function constructing Eigen::Rand::InvWishartGen More...
|
|
template<typename UIntType , typename Rng > |
UniversalRandomEngine< UIntType, Rng > | makeUniversalRng (Rng &&rng) |
| Helper function for making a UniversalRandomEngine. More...
|
|