Definition at line 218 of file tr1_impl/random.
| std::variate_generator< _Engine, _Dist >::variate_generator | ( | engine_type | __eng, | |
| distribution_type | __dist | |||
| ) | [inline] |
Constructs a variate generator with the uniform random number generator __eng for the random distribution __dist.
| Any | exceptions which may thrown by the copy constructors of the _Engine or _Dist objects. |
Definition at line 242 of file tr1_impl/random.
| const distribution_type& std::variate_generator< _Engine, _Dist >::distribution | ( | ) | const [inline] |
Gets a const reference to the underlying random distribution.
Definition at line 287 of file tr1_impl/random.
| distribution_type& std::variate_generator< _Engine, _Dist >::distribution | ( | ) | [inline] |
Gets a reference to the underlying random distribution.
Definition at line 280 of file tr1_impl/random.
Referenced by std::variate_generator< _Engine, _Dist >::max(), and std::variate_generator< _Engine, _Dist >::min().
| const engine_value_type& std::variate_generator< _Engine, _Dist >::engine | ( | ) | const [inline] |
Gets a const reference to the underlying uniform random number generator object.
Definition at line 273 of file tr1_impl/random.
| engine_value_type& std::variate_generator< _Engine, _Dist >::engine | ( | ) | [inline] |
Gets a reference to the underlying uniform random number generator object.
Definition at line 265 of file tr1_impl/random.
| result_type std::variate_generator< _Engine, _Dist >::max | ( | ) | const [inline] |
Gets the closed upper bound of the distribution interval.
Definition at line 301 of file tr1_impl/random.
References std::variate_generator< _Engine, _Dist >::distribution().
| result_type std::variate_generator< _Engine, _Dist >::min | ( | ) | const [inline] |
Gets the closed lower bound of the distribution interval.
Definition at line 294 of file tr1_impl/random.
References std::variate_generator< _Engine, _Dist >::distribution().
| result_type std::variate_generator< _Engine, _Dist >::operator() | ( | _Tp | __value | ) | [inline] |
WTF?
Definition at line 257 of file tr1_impl/random.
| result_type std::variate_generator< _Engine, _Dist >::operator() | ( | ) | [inline] |
Gets the next generated value on the distribution.
Definition at line 249 of file tr1_impl/random.
1.5.8