libstdc++
Normal Distributions
Collaboration diagram for Normal Distributions:

Classes

class  std::cauchy_distribution< _RealType >
 A cauchy_distribution random number distribution. More...
class  std::chi_squared_distribution< _RealType >
 A chi_squared_distribution random number distribution. More...
class  std::fisher_f_distribution< _RealType >
 A fisher_f_distribution random number distribution. More...
class  std::gamma_distribution< _RealType >
 A gamma continuous distribution for random numbers. More...
class  std::lognormal_distribution< _RealType >
 A lognormal_distribution random number distribution. More...
class  std::normal_distribution< _RealType >
 A normal continuous distribution for random numbers. More...
class  std::student_t_distribution< _RealType >
 A student_t_distribution random number distribution. More...

Functions

template<typename _RealType >
bool std::operator!= (const std::normal_distribution< _RealType > &__d1, const std::normal_distribution< _RealType > &__d2)
template<typename _RealType >
bool std::operator!= (const std::lognormal_distribution< _RealType > &__d1, const std::lognormal_distribution< _RealType > &__d2)
template<typename _RealType >
bool std::operator!= (const std::gamma_distribution< _RealType > &__d1, const std::gamma_distribution< _RealType > &__d2)
template<typename _RealType >
bool std::operator!= (const std::chi_squared_distribution< _RealType > &__d1, const std::chi_squared_distribution< _RealType > &__d2)
template<typename _RealType >
bool std::operator!= (const std::cauchy_distribution< _RealType > &__d1, const std::cauchy_distribution< _RealType > &__d2)
template<typename _RealType >
bool std::operator!= (const std::fisher_f_distribution< _RealType > &__d1, const std::fisher_f_distribution< _RealType > &__d2)
template<typename _RealType >
bool std::operator!= (const std::student_t_distribution< _RealType > &__d1, const std::student_t_distribution< _RealType > &__d2)
template<typename _RealType , typename _CharT , typename _Traits >
std::basic_ostream< _CharT,
_Traits > & 
std::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::cauchy_distribution< _RealType > &__x)
template<typename _RealType >
bool std::operator== (const std::cauchy_distribution< _RealType > &__d1, const std::cauchy_distribution< _RealType > &__d2)
template<typename _RealType , typename _CharT , typename _Traits >
std::basic_istream< _CharT,
_Traits > & 
std::operator>> (std::basic_istream< _CharT, _Traits > &__is, std::cauchy_distribution< _RealType > &__x)

Detailed Description


Function Documentation

template<typename _RealType >
bool std::operator!= ( const std::normal_distribution< _RealType > &  __d1,
const std::normal_distribution< _RealType > &  __d2 
)
inline

Return true if two normal distributions are different.

Definition at line 2149 of file random.h.

template<typename _RealType >
bool std::operator!= ( const std::lognormal_distribution< _RealType > &  __d1,
const std::lognormal_distribution< _RealType > &  __d2 
)
inline

Return true if two lognormal distributions are different.

Definition at line 2324 of file random.h.

template<typename _RealType >
bool std::operator!= ( const std::gamma_distribution< _RealType > &  __d1,
const std::gamma_distribution< _RealType > &  __d2 
)
inline

Return true if two gamma distributions are different.

Definition at line 2515 of file random.h.

template<typename _RealType >
bool std::operator!= ( const std::chi_squared_distribution< _RealType > &  __d1,
const std::chi_squared_distribution< _RealType > &  __d2 
)
inline

Return true if two Chi-squared distributions are different.

Definition at line 2679 of file random.h.

template<typename _RealType >
bool std::operator!= ( const std::cauchy_distribution< _RealType > &  __d1,
const std::cauchy_distribution< _RealType > &  __d2 
)
inline

Return true if two Cauchy distributions have different parameters.

Definition at line 2818 of file random.h.

template<typename _RealType >
bool std::operator!= ( const std::fisher_f_distribution< _RealType > &  __d1,
const std::fisher_f_distribution< _RealType > &  __d2 
)
inline

Return true if two Fisher f distributions are diferent.

Definition at line 3033 of file random.h.

template<typename _RealType >
bool std::operator!= ( const std::student_t_distribution< _RealType > &  __d1,
const std::student_t_distribution< _RealType > &  __d2 
)
inline

Return true if two Student t distributions are different.

Definition at line 3206 of file random.h.

template<typename _RealType , typename _CharT , typename _Traits >
std::basic_ostream< _CharT, _Traits > & std::operator<< ( std::basic_ostream< _CharT, _Traits > &  __os,
const std::cauchy_distribution< _RealType > &  __x 
)

Inserts a cauchy_distribution random number distribution __x into the output stream __os.

Parameters:
__osAn output stream.
__xA cauchy_distribution random number distribution.
Returns:
The output stream with the state of __x inserted or in an error state.

Definition at line 1892 of file random.tcc.

References std::ios_base::flags(), std::left(), and std::scientific().

template<typename _RealType >
bool std::operator== ( const std::cauchy_distribution< _RealType > &  __d1,
const std::cauchy_distribution< _RealType > &  __d2 
)
inline

Return true if two Cauchy distributions have the same parameters.

Definition at line 2808 of file random.h.

References std::cauchy_distribution< _RealType >::param().

template<typename _RealType , typename _CharT , typename _Traits >
std::basic_istream< _CharT, _Traits > & std::operator>> ( std::basic_istream< _CharT, _Traits > &  __is,
std::cauchy_distribution< _RealType > &  __x 
)

Extracts a cauchy_distribution random number distribution __x from the input stream __is.

Parameters:
__isAn input stream.
__xA cauchy_distribution random number generator engine.
Returns:
The input stream with __x extracted or in an error state.

Definition at line 1916 of file random.tcc.

References std::dec(), std::ios_base::flags(), std::cauchy_distribution< _RealType >::param(), and std::skipws().