added usage info and thanks
This commit is contained in:
20
README.md
20
README.md
@@ -6,3 +6,23 @@ by George Marsaglia, Arif Zaman, Wai Wan Tsang
|
||||
published in Statistics & Probability Letters Volume 9, Issue 1, January 1990, Pages 35-39
|
||||
https://www.sciencedirect.com/science/article/abs/pii/016771529090092L?via%3Dihub
|
||||
|
||||
# Building
|
||||
|
||||
```bash
|
||||
git clone https://git.redacted.cc/rich/ReUnirand.git
|
||||
cd ReUnirand
|
||||
mkdir build; cd build; cmake ..; make
|
||||
./ReUnirand-Test
|
||||
```
|
||||
|
||||
# Using
|
||||
|
||||
```c
|
||||
rng.rinit(170); // seed value must be in range 0 to 900000000
|
||||
float randomNumber = rng.uni();
|
||||
```
|
||||
|
||||
# Thanks
|
||||
|
||||
Written by Rich, hosted on the Redacted gitea with thanks to Maxine, Bill and Josh.
|
||||
|
||||
|
Reference in New Issue
Block a user