EigenRand  0.5.0
 
Loading...
Searching...
No Matches
Basic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Eigen::Rand::GenBase< DerivedGen, Scalar >
 Base class of all univariate random generators. More...
 
class  Eigen::Rand::MvVecGenBase< DerivedGen, _Scalar, Dim >
 Base class of all multivariate random vector generators. More...
 
class  Eigen::Rand::MvMatGenBase< DerivedGen, _Scalar, Dim >
 Base class of all multivariate random matrix generators. More...
 
class  Eigen::Rand::RandbitsGen< _Scalar >
 Generator of random bits for integral scalars. More...
 
class  Eigen::Rand::BalancedGen< _Scalar >
 Generator of reals in a range [-1, 1] More...
 
class  Eigen::Rand::Balanced2Gen< _Scalar >
 Generator of reals in a range [a, b] More...
 
class  Eigen::Rand::StdUniformRealGen< _Scalar >
 Generator of reals in a range [0, 1) More...
 
class  Eigen::Rand::UniformRealGen< _Scalar >
 Generator of reals in a range [a, b) More...
 
class  Eigen::Rand::BernoulliGen< _Scalar >
 Generator of Bernoulli distribution. More...
 

Namespaces

namespace  Eigen::Rand
 namespace for EigenRand
 

Typedefs

using Eigen::Rand::OptCacheStore = CacheStore< EIGEN_MAX_ALIGN_BYTES >
 
template<typename Derived , typename Urng >
using Eigen::Rand::RandBitsType = CwiseNullaryOp< internal::scalar_rng_adaptor< RandbitsGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::BalancedType = CwiseNullaryOp< internal::scalar_rng_adaptor< BalancedGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::Balanced2Type = CwiseNullaryOp< internal::scalar_rng_adaptor< Balanced2Gen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::BalancedVVType = CwiseBinaryOp< internal::scalar_binary_rng_adaptor< BalancedVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, const Derived, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::BalancedVSType = CwiseBinaryOp< internal::scalar_binary_rng_adaptor< BalancedVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, const Derived, CwiseNullaryOp< internal::scalar_constant_op< typename Derived::Scalar >, const Derived > >
 
template<typename Derived , typename Urng >
using Eigen::Rand::BalancedSVType = CwiseBinaryOp< internal::scalar_binary_rng_adaptor< BalancedVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, CwiseNullaryOp< internal::scalar_constant_op< typename Derived::Scalar >, const Derived >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::StdUniformRealType = CwiseNullaryOp< internal::scalar_rng_adaptor< StdUniformRealGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::UniformRealType = CwiseNullaryOp< internal::scalar_rng_adaptor< UniformRealGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::UniformRealVVType = CwiseBinaryOp< internal::scalar_binary_rng_adaptor< UniformRealVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, const Derived, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::UniformRealVSType = CwiseBinaryOp< internal::scalar_binary_rng_adaptor< UniformRealVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, const Derived, CwiseNullaryOp< internal::scalar_constant_op< typename Derived::Scalar >, const Derived > >
 
template<typename Derived , typename Urng >
using Eigen::Rand::UniformRealSVType = CwiseBinaryOp< internal::scalar_binary_rng_adaptor< UniformRealVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, CwiseNullaryOp< internal::scalar_constant_op< typename Derived::Scalar >, const Derived >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::BernoulliType = CwiseNullaryOp< internal::scalar_rng_adaptor< BernoulliGen< typename Derived::Scalar >, typename Derived::Scalar, Urng, true >, const Derived >
 
template<typename Derived , typename Urng >
using Eigen::Rand::BernoulliVType = CwiseUnaryOp< internal::scalar_unary_rng_adaptor< BernoulliVGen< typename Derived::Scalar >, typename Derived::Scalar, typename Derived::Scalar, Urng, true >, const Derived >
 

Functions

template<typename Derived , typename Urng >
const RandBitsType< Derived, Urng > Eigen::Rand::randBits (Index rows, Index cols, Urng &&urng)
 generates integers with random bits More...
 
template<typename Derived , typename Urng >
const RandBitsType< Derived, Urng > Eigen::Rand::randBitsLike (Derived &o, Urng &&urng)
 generates integers with random bits More...
 
template<typename Derived , typename Urng >
const BalancedType< Derived, Urng > Eigen::Rand::balanced (Index rows, Index cols, Urng &&urng)
 generates reals in a range [-1, 1] More...
 
template<typename Derived , typename Urng >
const BalancedType< Derived, Urng > Eigen::Rand::balancedLike (const Derived &o, Urng &&urng)
 generates reals in a range [-1, 1] More...
 
template<typename Derived , typename Urng >
const Balanced2Type< Derived, Urng > Eigen::Rand::balanced (Index rows, Index cols, Urng &&urng, typename Derived::Scalar a, typename Derived::Scalar b)
 generates reals in a range [a, b] More...
 
template<typename Derived , typename Urng >
const Balanced2Type< Derived, Urng > Eigen::Rand::balancedLike (const Derived &o, Urng &&urng, typename Derived::Scalar a, typename Derived::Scalar b)
 generates reals in a range [a, b] More...
 
template<typename Lhs , typename Rhs , typename Urng >
const BalancedVVType< Lhs, Urng > Eigen::Rand::balanced (Urng &&urng, const ArrayBase< Lhs > &a, const ArrayBase< Rhs > &b)
 generates reals in a range [a, b] More...
 
template<typename Lhs , typename Urng >
const BalancedVSType< Lhs, Urng > Eigen::Rand::balanced (Urng &&urng, const ArrayBase< Lhs > &a, typename Lhs::Scalar b)
 
template<typename Rhs , typename Urng >
const BalancedSVType< Rhs, Urng > Eigen::Rand::balanced (Urng &&urng, typename Rhs::Scalar a, const ArrayBase< Rhs > &b)
 
template<typename Derived , typename Urng >
const StdUniformRealType< Derived, Urng > Eigen::Rand::uniformReal (Index rows, Index cols, Urng &&urng)
 generates reals in a range [0, 1) More...
 
template<typename Derived , typename Urng >
const StdUniformRealType< Derived, Urng > Eigen::Rand::uniformRealLike (Derived &o, Urng &&urng)
 generates reals in a range [0, 1) More...
 
template<typename Derived , typename Urng >
const UniformRealType< Derived, Urng > Eigen::Rand::uniformReal (Index rows, Index cols, Urng &&urng, typename Derived::Scalar min, typename Derived::Scalar max)
 generates reals in a range [min, max) More...
 
template<typename Derived , typename Urng >
const UniformRealType< Derived, Urng > Eigen::Rand::uniformRealLike (Derived &o, Urng &&urng, typename Derived::Scalar min, typename Derived::Scalar max)
 generates reals in a range [min, max) More...
 
template<typename Lhs , typename Rhs , typename Urng >
const UniformRealVVType< Lhs, Urng > Eigen::Rand::uniformReal (Urng &&urng, const ArrayBase< Lhs > &a, const ArrayBase< Rhs > &b)
 generates reals in a range [a, b) More...
 
template<typename Lhs , typename Urng >
const UniformRealVSType< Lhs, Urng > Eigen::Rand::uniformReal (Urng &&urng, const ArrayBase< Lhs > &a, typename Lhs::Scalar b)
 
template<typename Rhs , typename Urng >
const UniformRealSVType< Rhs, Urng > Eigen::Rand::uniformReal (Urng &&urng, typename Rhs::Scalar a, const ArrayBase< Rhs > &b)
 
template<typename Derived , typename Urng >
const BernoulliType< Derived, Urng > Eigen::Rand::bernoulli (Index rows, Index cols, Urng &&urng, double p=0.5)
 generates 1 with probability p and 0 with probability 1 - p More...
 
template<typename Derived , typename Urng >
const BernoulliType< Derived, Urng > Eigen::Rand::bernoulli (Derived &o, Urng &&urng, double p=0.5)
 generates 1 with probability p and 0 with probability 1 - p More...
 
template<typename Lhs , typename Urng >
const BernoulliVType< Lhs, Urng > Eigen::Rand::bernoulli (Urng &&urng, const ArrayBase< Lhs > &p)
 generates 1 with probability p and 0 with probability 1 - p More...
 

Detailed Description

Author
bab2min (bab2m.nosp@m.in@g.nosp@m.mail..nosp@m.com)
Version
0.5.0
Date
2023-01-31