libstdc++
std::weibull_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 weibull_distribution &__d1, const weibull_distribution &__d2)
 

Detailed Description

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

A weibull_distribution random number distribution.

The formula for the normal probability density function is:

\[ p(x|\alpha,\beta) = \frac{\alpha}{\beta} (\frac{x}{\beta})^{\alpha-1} \exp{(-(\frac{x}{\beta})^\alpha)} \]

Definition at line 4854 of file random.h.

Member Typedef Documentation

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

The type of the range of the distribution.

Definition at line 4857 of file random.h.

Friends And Related Function Documentation

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

Return true if two Weibull distributions have the same parameters.

Definition at line 4998 of file random.h.


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