3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
random.hh File Reference

Some tools for random number generation. More...

#include <random>
#include <type_traits>
#include <cstdint>

Go to the source code of this file.

Description

Some tools for random number generation.

A simple log-normal distribution.

A simple normal distribution based on a biased uniform number generator and the Box-Mueller transform.

A simple uniform distribution based on a biased uniform number generator.

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
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/normal_distribution
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/lognormal_distribution

Classes

class  Dumux::SimpleUniformDistribution< Scalar >
class  Dumux::SimpleNormalDistribution< Scalar >
class  Dumux::SimpleLogNormalDistribution< Scalar >

Namespaces

namespace  Dumux