Class template Dune::XT::Common::DefaultRNG<T, bool>

Inherits from Dune::XT::Common::RNG.

template<class T, bool = is_vector<T>::value>
class Dune::XT::Common::DefaultRNG<T, bool> : public RNG<T, typename UniformDistributionSelector<T>::type, std::default_random_engine>

defaultrng with choice of uniform distribution and stl’s default random engine based on T and its numeric_limits

Constructor Dune::XT::Common::DefaultRNG::DefaultRNG

template<class T, bool = is_vector<T>::value>
explicit Dune::XT::Common::DefaultRNG<T, bool>::DefaultRNG(T min = std::numeric_limits<T>::min(), T max = std::numeric_limits<T>::max(), std::random_device::result_type seed = std::random_device()())

No documentation provided.

Type alias Dune::XT::Common::DefaultRNG::BaseType

template<class T, bool = is_vector<T>::value>
using Dune::XT::Common::DefaultRNG<T, bool>::BaseType = RNG<T, typename UniformDistributionSelector<T>::type, std::default_random_engine>

No documentation provided.