DESERT 4.0.0
Uwrandomlib Class Reference

#include <uwrandomlib.h>

Collaboration diagram for Uwrandomlib:
Collaboration graph

Public Member Functions

 Uwrandomlib ()
 
double Gauss (double m, double sigma, int type)
 
double Pareto (double alpha, double beta, int type)
 

Private Member Functions

void SetSeed (long int s, int type)
 
double Rand01 (int type)
 

Private Attributes

long int s1 [GENER]
 
long int s2 [GENER]
 
long int iy [GENER]
 
long int iv [GENER][NTAB]
 

Constructor & Destructor Documentation

◆ Uwrandomlib()

Uwrandomlib::Uwrandomlib ( )

References iy, s1, and s2.

Member Function Documentation

◆ Gauss()

double Uwrandomlib::Gauss ( double  m,
double  sigma,
int  type 
)

References Rand01().

Referenced by WossGMMob3D::update(), and WossGroupMob3D::update().

Here is the call graph for this function:

◆ Pareto()

double Uwrandomlib::Pareto ( double  alpha,
double  beta,
int  type 
)

References Rand01().

Here is the call graph for this function:

◆ Rand01()

double Uwrandomlib::Rand01 ( int  type)
private

References iv, iy, s1, and s2.

Referenced by Gauss(), and Pareto().

◆ SetSeed()

void Uwrandomlib::SetSeed ( long int  s,
int  type 
)
private

References iv, iy, s1, and s2.

Member Data Documentation

◆ iv

long int Uwrandomlib::iv[GENER][NTAB]
private

Referenced by Rand01(), and SetSeed().

◆ iy

long int Uwrandomlib::iy[GENER]
private

Referenced by Rand01(), SetSeed(), and Uwrandomlib().

◆ s1

long int Uwrandomlib::s1[GENER]
private

Referenced by Rand01(), SetSeed(), and Uwrandomlib().

◆ s2

long int Uwrandomlib::s2[GENER]
private

Referenced by Rand01(), SetSeed(), and Uwrandomlib().


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