Dart lang implementation of 32 bit Mersenne twister PRNG (MT19937)
Dart
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
CHANGELOG.md
LICENSE
README.md
pubspec.yaml

README.md

Mersenne Twister

Build Status

Dart implementation of 32 bit Mersenne twister PRNG (MT19937). It is tested against output from other implementation.

Usage

    import 'package:mersenne_twister/mersenne_twister.dart';

    int seed = 1;
    var mt = new MersenneTwister(seed);

    print(mt.extractNumber());