webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webrtc::Random Class Reference

#include <random.h>

Public Member Functions

 Random (uint64_t seed)
 
template<typename T >
T Rand ()
 
uint32_t Rand (uint32_t t)
 
uint32_t Rand (uint32_t low, uint32_t high)
 
int32_t Rand (int32_t low, int32_t high)
 
double Gaussian (double mean, double standard_deviation)
 
double Exponential (double lambda)
 
 Random (uint64_t seed)
 
template<typename T >
T Rand ()
 
uint32_t Rand (uint32_t t)
 
uint32_t Rand (uint32_t low, uint32_t high)
 
int32_t Rand (int32_t low, int32_t high)
 
double Gaussian (double mean, double standard_deviation)
 
double Exponential (double lambda)
 
template<>
float Rand ()
 
template<>
double Rand ()
 
template<>
bool Rand ()
 
template<>
float Rand ()
 
template<>
double Rand ()
 
template<>
bool Rand ()
 
template<>
float Rand ()
 
template<>
double Rand ()
 
template<>
bool Rand ()
 

Constructor & Destructor Documentation

◆ Random() [1/2]

webrtc::Random::Random ( uint64_t  seed)
explicit

◆ Random() [2/2]

webrtc::Random::Random ( uint64_t  seed)
explicit

Member Function Documentation

◆ Exponential() [1/2]

double webrtc::Random::Exponential ( double  lambda)

◆ Exponential() [2/2]

double webrtc::Random::Exponential ( double  lambda)

◆ Gaussian() [1/2]

double webrtc::Random::Gaussian ( double  mean,
double  standard_deviation 
)

◆ Gaussian() [2/2]

double webrtc::Random::Gaussian ( double  mean,
double  standard_deviation 
)

◆ Rand() [1/17]

template<typename T >
T webrtc::Random::Rand ( )
inline

◆ Rand() [2/17]

template<typename T >
T webrtc::Random::Rand ( )
inline

◆ Rand() [3/17]

uint32_t webrtc::Random::Rand ( uint32_t  t)

◆ Rand() [4/17]

uint32_t webrtc::Random::Rand ( uint32_t  t)

◆ Rand() [5/17]

template<>
float webrtc::Random::Rand ( )

◆ Rand() [6/17]

uint32_t webrtc::Random::Rand ( uint32_t  low,
uint32_t  high 
)

◆ Rand() [7/17]

uint32_t webrtc::Random::Rand ( uint32_t  low,
uint32_t  high 
)

◆ Rand() [8/17]

int32_t webrtc::Random::Rand ( int32_t  low,
int32_t  high 
)

◆ Rand() [9/17]

int32_t webrtc::Random::Rand ( int32_t  low,
int32_t  high 
)

◆ Rand() [10/17]

template<>
double webrtc::Random::Rand ( )

◆ Rand() [11/17]

template<>
bool webrtc::Random::Rand ( )

◆ Rand() [12/17]

template<>
float webrtc::Random::Rand ( )

◆ Rand() [13/17]

template<>
float webrtc::Random::Rand ( )

◆ Rand() [14/17]

template<>
double webrtc::Random::Rand ( )

◆ Rand() [15/17]

template<>
double webrtc::Random::Rand ( )

◆ Rand() [16/17]

template<>
bool webrtc::Random::Rand ( )

◆ Rand() [17/17]

template<>
bool webrtc::Random::Rand ( )

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