https://github.com/miyako/4d-plugin-prng
Pseudo-random number generator
https://github.com/miyako/4d-plugin-prng
4d-plugin
Last synced: 19 days ago
JSON representation
Pseudo-random number generator
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-prng
- Owner: miyako
- License: mit
- Created: 2017-04-27T03:42:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-18T23:12:19.000Z (about 5 years ago)
- Last Synced: 2025-01-08T17:57:02.164Z (over 1 year ago)
- Topics: 4d-plugin
- Language: C
- Homepage:
- Size: 1.87 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)

**Note**: for v17 and earlier, move `manifest.json` to `Contents`
# 4d-plugin-PRNG
Pseudo-random number generator
## Syntax
```
number:=uniform_int_distribution (min;max)
```
Parameter|Type|Description
------------|------------|----
min|LONGINT|minimum potentially generated value
max|LONGINT|maximum potentially generated value
number|LONGINT|
* Using ``std::mt19937`` on both platforms.
* Using ``std::random_device`` to seed the [Mersenne Twister](https://en.wikipedia.org/wiki/Mersenne_Twister).