libstdc++
std::uniform_real_distribution< _RealType > Class Template Reference

Classes

struct  param_type
 

Public Types

typedef _RealType result_type
 

Public Member Functions

 uniform_real_distribution ()
 

Public Attributes

 __b
 
 __pad0__: _M_param(__a
 
param_type _M_param
 

Detailed Description

template<typename _RealType = double>
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).

Definition at line 1745 of file random.h.

Member Typedef Documentation

template<typename _RealType = double>
typedef _RealType std::uniform_real_distribution< _RealType >::result_type

The type of the range of the distribution.

Definition at line 1748 of file random.h.

Constructor & Destructor Documentation

template<typename _RealType = double>
std::uniform_real_distribution< _RealType >::uniform_real_distribution ( )
inline

Constructs a uniform_real_distribution object.

The lower bound is set to 0.0 and the upper bound to 1.0

Definition at line 1795 of file random.h.

Member Data Documentation

template<typename _RealType = double>
std::uniform_real_distribution< _RealType >::__pad0__
explicit

Constructs a uniform_real_distribution object.

Parameters
__a[IN] The lower bound of the distribution.
__b[IN] The upper bound of the distribution.

Definition at line 1805 of file random.h.


The documentation for this class was generated from the following file: