Giter Club home page Giter Club logo

rngs's Introduction

rngs

/*
 * rngs
 * ECE 541 Project 2
 * Kashev Dalmia - dalmia3
 * David Huang   - huang157
 */

A project for ECE 541 Project #2 @ UIUC. Investigating Random Number Generators.

This project uses the Dieharder project to test random number generators implemented in C++. More information can be found in the proposal, report, and presentation folders. The final version of the paper in this repository which explains much of the theory behind this project can be found here.

This project requires dieharder. Obtain it from the link above, install it with your package manager, or on ubuntu, run code/install_deps.sh.

To build the project without the use of an IDE, run:

cd code && cmake . && make

Example usage of Python calling script:

./rngs.py stl -d 0
./rngs.py mt19937 -a
./rngs.py --file all -a

Note that the only flag that's passed to dieharder by default is -g 200, to tell it to use std_in_raw. All other dieharder options, like the -a flag to run all tests, or the -d flag to run specific tests. For more information on dieharder options, run man dieharder.

Also note that running a single RNG through all the dieharder tests take a little under an hour on my laptop. So running all of them will take a long time. User beware!

Implemented RNGs

rngs's People

Contributors

dvhg avatar kashev avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.