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

Classes

struct  param_type
 

Public Types

typedef _RealType result_type
 

Public Member Functions

template<typename _ForwardIterator , typename _UniformRandomNumberGenerator >
void __generate (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng)
 
template<typename _ForwardIterator , typename _UniformRandomNumberGenerator >
void __generate (_ForwardIterator __f, _ForwardIterator __t, _UniformRandomNumberGenerator &__urng, const param_type &__p)
 
template<typename _UniformRandomNumberGenerator >
void __generate (result_type *__f, result_type *__t, _UniformRandomNumberGenerator &__urng, const param_type &__p)
 

Public Attributes

 __b
 
 __pad0__: _M_param(__a
 

Friends

bool operator== (const extreme_value_distribution &__d1, const extreme_value_distribution &__d2)
 

Detailed Description

template<typename _RealType = double>
class std::extreme_value_distribution< _RealType >

A extreme_value_distribution random number distribution.

The formula for the normal probability mass function is

\[ p(x|a,b) = \frac{1}{b} \exp( \frac{a-x}{b} - \exp(\frac{a-x}{b})) \]

Definition at line 5061 of file random.h.

Member Typedef Documentation

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

The type of the range of the distribution.

Definition at line 5064 of file random.h.

Friends And Related Function Documentation

template<typename _RealType = double>
bool operator== ( const extreme_value_distribution< _RealType > &  __d1,
const extreme_value_distribution< _RealType > &  __d2 
)
friend

Return true if two extreme value distributions have the same parameters.

Definition at line 5205 of file random.h.


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