Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scumdogsteev/mls-junk-generator
MLS Junk Generator VBA Implementation (random number generator)
https://github.com/scumdogsteev/mls-junk-generator
mls-junk-generator mlsjunkgen random-number random-number-generator random-number-generators random-numbers rng vba vba-source visual-basic
Last synced: 18 days ago
JSON representation
MLS Junk Generator VBA Implementation (random number generator)
- Host: GitHub
- URL: https://github.com/scumdogsteev/mls-junk-generator
- Owner: scumdogsteev
- License: mit
- Created: 2015-02-01T17:12:03.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-02T00:44:02.000Z (almost 10 years ago)
- Last Synced: 2024-11-05T10:16:43.675Z (2 months ago)
- Topics: mls-junk-generator, mlsjunkgen, random-number, random-number-generator, random-number-generators, random-numbers, rng, vba, vba-source, visual-basic
- Language: Visual Basic
- Homepage: http://steve.mylesandmyles.info/projects/mls-junk-generator/
- Size: 418 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MLS Junk Generator VBA Implementation
by Scumdog Steev / Steve MylesLicense: [MIT License](https://github.com/scumdogsteev/mls-junk-generator/blob/master/LICENSE)
About: This is a pseudo-random number generator implemented in Excel/VBA and [R](https://github.com/scumdogsteev/mls-junk-generatR).
Project Home: http://steve.mylesandmyles.info/projects/mls-junk-generator/
Algorithm:
```
For any seed values of w, x, y, z:
r_i = 5.980217w^2 + 9.446377x^0.25 + 4.81379y^0.33 + 8.91197z^0.5
r_i = r_i - Int(r_i) For r_i+1:
w = x
x = y
y = z
z = r_i
```Files:
1. [mls_junk_generator1.xlsm](https://github.com/scumdogsteev/mls-junk-generator/blob/master/mls_junk_generator1.xlsm) - simple Excel implementation
2. [mls_junk_generator.bas](https://github.com/scumdogsteev/mls-junk-generator/blob/master/mls_junk_generator.bas) - VBA source for #1
3. [mls_junk_generator2.xlsm](https://github.com/scumdogsteev/mls-junk-generator/blob/master/mls_junk_generator2.xlsm) - second Excel implementation (allows for clearing of the RN stream)
4. [MLSJunkGen.bas](https://github.com/scumdogsteev/mls-junk-generator/blob/master/MLSJunkGen.bas) - VBA module for #3
Project Info:
* VBA Source last updated: 2015.01.31
* Originally posted online: 2012.07.06
* Moved to GitHub: 2015.02.01