https://github.com/sepppenner/linearcongruencegeneratorc-
Linear Congruence Generator implementation in C#.
https://github.com/sepppenner/linearcongruencegeneratorc-
Last synced: 10 months ago
JSON representation
Linear Congruence Generator implementation in C#.
- Host: GitHub
- URL: https://github.com/sepppenner/linearcongruencegeneratorc-
- Owner: SeppPenner
- License: mit
- Created: 2016-11-17T19:40:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-07T18:21:56.000Z (over 1 year ago)
- Last Synced: 2025-06-30T10:05:47.901Z (12 months ago)
- Language: C#
- Homepage:
- Size: 15 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: License.txt
Awesome Lists containing this project
README
# LinearCongruenceGenerator
Linear Congruence Generator implementation in C#.
[](https://ci.appveyor.com/project/SeppPenner/linearcongruencegeneratorc)
[](https://github.com/SeppPenner/LinearCongruenceGeneratorC-/issues)
[](https://github.com/SeppPenner/LinearCongruenceGeneratorC-/network)
[](https://github.com/SeppPenner/LinearCongruenceGeneratorC-/stargazers)
[](https://raw.githubusercontent.com/SeppPenner/LinearCongruenceGeneratorC-/master/License.txt)
[](https://snyk.io/test/github/SeppPenner/LinearCongruenceGeneratorC-)
[](https://franzhuber23.blogspot.de/)
[](https://patreon.com/SeppPennerOpenSourceDevelopment)
[](https://paypal.me/th070795)
Link to Linear Congruence Generator implementation in Java:
https://github.com/SeppPenner/LinearCongruenceGenerator/blob/master/README.md
## Basic usage
```csharp
public class ExampleUsage
{
private LinearCongruenceGenerator _random = new LinearCongruenceGenerator(
(long)Math.Pow(2, 32), 1664525, 1013904223, 0);
}
```
See https://en.wikipedia.org/wiki/Linear_congruential_generator for good parameters.
Change history
--------------
See the [Changelog](https://github.com/SeppPenner/LinearCongruenceGeneratorC-/blob/master/Changelog.md).