Skip to content

farenga/tinyrand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rng.cpp

rng.cpp is an implementation of pseudo random number generation algorithms.

Algorithms

  • Linear Congruential Generator
    • lcg_int
    • lcg_double
  • Multiple Recursive Generator
  • Linear Feedback Shift Register

Use

#include "rng.h"	

g++ -I/source/includes main.cpp rng.cpp

About

C++ Pseudo Random Number Generation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages