Latin Hypercube Samples (lhs)  1.0
R, C++, and Rcpp code to generate Latin hypercube samples
bclib::CRandomStandardUniform Class Reference

#include <CRandom.h>

Inheritance diagram for bclib::CRandomStandardUniform:
bclib::CRandom< double >

Public Member Functions

 CRandomStandardUniform ()
 
double getNextRandom ()
 
void setSeed (unsigned int i1, unsigned int i2)
 
void getSeed (unsigned int *i1, unsigned int *i2)
 

Detailed Description

random numbers from a standard uniform distribution

Constructor & Destructor Documentation

◆ CRandomStandardUniform()

bclib::CRandomStandardUniform::CRandomStandardUniform ( )
inline

default constructor

Member Function Documentation

◆ getNextRandom()

double bclib::CRandomStandardUniform::getNextRandom ( )
inlinevirtual

get the next random number from the stream

Returns
random deviate

Implements bclib::CRandom< double >.

◆ getSeed()

void bclib::CRandomStandardUniform::getSeed ( unsigned int *  i1,
unsigned int *  i2 
)
inline

get the random seeds

Parameters
i1pointer to seed1
i2pointer to seed2

◆ setSeed()

void bclib::CRandomStandardUniform::setSeed ( unsigned int  i1,
unsigned int  i2 
)
inline

set the random seed

Parameters
i1seed1
i2seed2

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