Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install dcmt

How to install dcmt

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install dcmt
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.6.1-4 Failed View build log
0.6.1-3 Failed View build log
0.6.1-2 Failed View build log
Windows (64-bit)
0.6.1-4 Failed View build log
0.6.1-3 Failed View build log
0.6.1-2 Failed View build log
Mac OS X (10.5+)
0.6.1-2
0.6.1-4 Failed View build log
0.6.1-3 Failed View build log
0.6.1-2 Available View build log
Linux (32-bit)
0.6.1-2
0.6.1-4 Failed View build log
0.6.1-3 Failed View build log
0.6.1-2 Available View build log
Linux (64-bit)
0.6.1-2
0.6.1-4 Failed View build log
0.6.1-3 Failed View build log
0.6.1-2 Available View build log
 
Imports
Lastest release
version 0.6.1-4 on May 28th, 2011

This module is a thin Python wrapper over C library dcmt, created by Makoto Matsumoto and Takuji Nishimura, authors of Mersenne twister RNG algorithm. The original library provides functions for creating multiple independent RNGs (which can be used, for example, in parallel Monte-Carlo simulations).

The package contains intact dcmt sources (except for example folder) and exports some functions and structures from its API. For licensing on original library and other information please see the link above, or src/dcmt/README file and sources.

The version of the module corresponds to the version of original library, with the addition of the build number. For example, the wrapper on top of dcmt 0.6.1 may have version like 0.6.1-10. Module documentation can be found here

Changelog

0.6.1-5 (in development)
  • Fix issues with setuptools/distutils (one of them does not support Cython, other does not support Sphinx)
0.6.1-4 (in development)
  • Fixed bug when mt_range() return 'common' parameters dict with non-common parameters included;
  • Fixed bug when DcmtRandomState.rand() returned array instead of Python float;
  • Added raw integer randoms generation to DcmtRandomState;
  • Added 'inplace' function to fill provided numpy array with randoms
0.6.1-3
  • Using slightly optimized random number generation taken from numpy 1.5.1;
  • Module is rewritten using Cython;
  • Exporting analogues of Python standard random.Random and numpy's numpy.random.mtrand.RandomState;
  • Renamed create_mts to mt_range, which now returns dictionary and numpy array instead of ctypes structures;
0.6.1-2
  • Shortened function names: create_mts(), init_mt()
  • Removed get_random() and added rand(), which returns numpy array
  • Added create_mts_stripped(), currently as a 'half-documented' feature
0.6.1-1
  • Three basic functions: create_generators(), init_generator() and get_random() (returns integer)

Subscribe to package updates

Last updated May 28th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.