My tools of the trade for python programming.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#
|
|
|
|
# wpylib.math.random module
|
|
|
|
# Created: 20130814
|
|
|
|
# Wirawan Purwanto
|
|
|
|
#
|
|
|
|
|
|
|
|
import numpy
|
|
|
|
|
|
|
|
class rng_base(object):
|
|
|
|
"""Base class for random number generator."""
|
|
|
|
|
|
|
|
# Standard classes
|
|
|
|
from wpylib.math.random.rng_lcg48 import lcg48
|