.TH "std::uniform_real_distribution< _RealType >" 3cxx "Sun Feb 7 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::uniform_real_distribution< _RealType > \- Uniform continuous distribution for random numbers\&. .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "struct \fBparam_type\fP" .br .in -1c .SS "Public Types" .in +1c .ti -1c .RI "typedef _RealType \fBresult_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBuniform_real_distribution\fP ()" .br .RI "Constructs a uniform_real_distribution object\&. " .ti -1c .RI "\fBuniform_real_distribution\fP (_RealType __a, _RealType __b=_RealType(1))" .br .RI "Constructs a uniform_real_distribution object\&. " .ti -1c .RI "\fBuniform_real_distribution\fP (const \fBparam_type\fP &__p)" .br .ti -1c .RI "template void \fB__generate\fP (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng)" .br .ti -1c .RI "template void \fB__generate\fP (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng, const \fBparam_type\fP &__p)" .br .ti -1c .RI "template void \fB__generate\fP (\fBresult_type\fP *__f, \fBresult_type\fP *__t, _UniformRandomNumberGenerator &__urng, const \fBparam_type\fP &__p)" .br .ti -1c .RI "\fBresult_type\fP \fBa\fP () const" .br .ti -1c .RI "\fBresult_type\fP \fBb\fP () const" .br .ti -1c .RI "\fBresult_type\fP \fBmax\fP () const" .br .RI "Returns the inclusive upper bound of the distribution range\&. " .ti -1c .RI "\fBresult_type\fP \fBmin\fP () const" .br .RI "Returns the inclusive lower bound of the distribution range\&. " .ti -1c .RI "template \fBresult_type\fP \fBoperator()\fP (_UniformRandomNumberGenerator &__urng)" .br .RI "Generating functions\&. " .ti -1c .RI "template \fBresult_type\fP \fBoperator()\fP (_UniformRandomNumberGenerator &__urng, const \fBparam_type\fP &__p)" .br .ti -1c .RI "\fBparam_type\fP \fBparam\fP () const" .br .RI "Returns the parameter set of the distribution\&. " .ti -1c .RI "void \fBparam\fP (const \fBparam_type\fP &__param)" .br .RI "Sets the parameter set of the distribution\&. " .ti -1c .RI "void \fBreset\fP ()" .br .RI "Resets the distribution state\&. " .in -1c .SS "Friends" .in +1c .ti -1c .RI "bool \fBoperator==\fP (const \fBuniform_real_distribution\fP &__d1, const \fBuniform_real_distribution\fP &__d2)" .br .RI "Return true if two uniform real distributions have the same parameters\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br class std::uniform_real_distribution< _RealType >" Uniform continuous distribution for random numbers\&. A continuous random distribution on the range [min, max) with equal probability throughout the range\&. The URNG should be real-valued and deliver number in the range [0, 1)\&. .PP Definition at line 1734 of file random\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.