scitbx.random
index
/net/chevy/raid1/nat/src/cctbx_project/scitbx/random/__init__.py

 
Package Contents
       

 
Classes
       
__builtin__.object
variate_factory

 
class variate_factory(__builtin__.object)
    The corner stone of this package.
 
Synopsis
 
  g = scitbx.random.variate(scitbx.random.normal_distribution(mean, sigma))
 
How to use it from other modules?
 
  scitbx.random.variate.register(xxxx_ext)
 
where xxxx_ext is a Boost.Python module featuring overloaded 'variate'
functions, variate(engine, distribution), where engine is the like
of mt19937 and distribution is the like of scitbx.random.normal_distribution.
 
  Methods defined here:
__call__(self, distribution, engine=<scitbx_random_ext.mersenne_twister_19937 object>)
__init__(self)
register_module(self, module)
variate_functions(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
get_random_seed()
set_random_seed(value)

 
Data
        division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)
mt19937 = <scitbx_random_ext.mersenne_twister_19937 object>
variate = <scitbx.random.variate_factory object>