DESERT 3.5.1
Loading...
Searching...
No Matches
Uwrandomlib Class Reference

#include <uwrandomlib.h>

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]
 

Detailed Description

Definition at line 58 of file uwrandomlib.h.

Constructor & Destructor Documentation

◆ Uwrandomlib()

Uwrandomlib::Uwrandomlib ( )

Definition at line 41 of file uwrandomlib.cpp.

Member Function Documentation

◆ Gauss()

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

Definition at line 100 of file uwrandomlib.cpp.

◆ Pareto()

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

Definition at line 127 of file uwrandomlib.cpp.

◆ Rand01()

double Uwrandomlib::Rand01 ( int  type)
private

Definition at line 71 of file uwrandomlib.cpp.

◆ SetSeed()

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

Definition at line 50 of file uwrandomlib.cpp.

Member Data Documentation

◆ iv

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

Definition at line 71 of file uwrandomlib.h.

◆ iy

long int Uwrandomlib::iy[GENER]
private

Definition at line 70 of file uwrandomlib.h.

◆ s1

long int Uwrandomlib::s1[GENER]
private

Definition at line 68 of file uwrandomlib.h.

◆ s2

long int Uwrandomlib::s2[GENER]
private

Definition at line 69 of file uwrandomlib.h.


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