A simple uniform distribution based on a biased uniform number generator.
More...
#include <dumux/common/random.hh>
template<class Scalar = double>
class Dumux::SimpleUniformDistribution< Scalar >
- Note
- Use this if you need a fast library implementation independent generator without strict requirements about the bias
-
We try to stay close to https://en.cppreference.com/w/cpp/numeric/random/uniform_real_distribution
◆ param_type
template<class Scalar = double>
◆ result_type
template<class Scalar = double>
◆ SimpleUniformDistribution() [1/3]
template<class Scalar = double>
◆ SimpleUniformDistribution() [2/3]
template<class Scalar = double>
◆ SimpleUniformDistribution() [3/3]
template<class Scalar = double>
◆ a()
template<class Scalar = double>
◆ b()
template<class Scalar = double>
◆ operator()()
template<class Scalar = double>
template<class Generator , typename std::enable_if_t< std::is_same_v< typename Generator::result_type, std::uint_fast32_t >, int > = 0>
◆ param() [1/2]
template<class Scalar = double>
◆ param() [2/2]
template<class Scalar = double>
The documentation for this class was generated from the following file: