* Added new module wpylib.math.random and its submodule (rng_lcg48).

The LCG48 generator is primarily for testing algorithms involving random
  numbers.
This commit is contained in:
Wirawan Purwanto
2013-08-14 15:29:26 -04:00
parent e485cabbe8
commit 42fdcc5253
2 changed files with 179 additions and 0 deletions

13
math/random/__init__.py Normal file
View File

@@ -0,0 +1,13 @@
#
# wpylib.math.random module
# Created: 20130814
# Wirawan Purwanto
#
import numpy
class rng_base(object):
"""Bas class for random number generator."""
# Standard classes
from wpylib.math.random.rng_lcg48 import lcg48