Class template Dune::XT::Common::RNG¶
-
template<class T, class DistributionImp, class EngineImp = std::mt19937>
class Dune::XT::Common::RNG<T, DistributionImp, EngineImp>¶ RandomNumberGenerator adapter
T type of generated numbers
EngineImp randomization algorithm/engine implementation
DistributionImp class with an EngineImp accepting call operator that returns the actual RNGs
DefaultRNG for default choice of distribution, engine and init args
Method Dune::XT::Common::RNG::operator()¶
Constructor Dune::XT::Common::RNG::RNG<T, DistributionImp, EngineImp>¶
-
template<>
template<class T, class DistributionImp, class EngineImp = std::mt19937>
Dune::XT::Common::RNG<T, DistributionImp, EngineImp>::RNG<T, DistributionImp, EngineImp>(EngineType g, DistributionType d)¶ No documentation provided.
Field Dune::XT::Common::RNG::generator¶
-
EngineType Dune::XT::Common::RNG::generator¶
No documentation provided.
Field Dune::XT::Common::RNG::distribution¶
-
DistributionType Dune::XT::Common::RNG::distribution¶
No documentation provided.