Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Constructs the distribution.
explicit uniform_real_distribution(RealType a = 0.0, RealType b = 1.0);
explicit uniform_real_distribution(const param_type& parm);
Parameters
a
The lower bound for random values, inclusive.b
The upper bound for random values, exclusive.parm
The parameter structure used to construct the distribution.
Remarks
**Precondition:**a < b
The first constructor constructs an object whose stored a value holds the value a and whose stored b value holds the value b.
The second constructor constructs an object whose stored parameters are initialized from parm. You can obtain and set the current parameters of an existing distribution by calling the param() member function.
Requirements
Header: <random>
Namespace: std