mt19937ar for Python
Project description
mt19937ar
Python implementation of mt19937ar
Usage
from mt19937ar import MT19937ar
mt = MT19937ar()
mt.init_by_array([0x123, 0x234, 0x345, 0x456])
print(mt.genrand_int32()) # 1067595299
print(mt.genrand_int32()) # 955945823
print(mt.genrand_int32()) # 477289528
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mt19937ar-0.1.0.tar.gz
(15.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mt19937ar-0.1.0.tar.gz.
File metadata
- Download URL: mt19937ar-0.1.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
288764c7754387c39bbaeb1883cb8280e8241c68a1cee1b7735efb470dfa5608
|
|
| MD5 |
f64b061d717987671bfab6b38d24f357
|
|
| BLAKE2b-256 |
e835f7a23962b1de0a4993cca62009969d269dd6bb02b28cc613356913780b84
|
File details
Details for the file mt19937ar-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mt19937ar-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
018b77d987c70967b878a114ec746da70f25ba19ef4999d397a548c042a7e582
|
|
| MD5 |
ad2cf6b85e6bf11e3238a594f44e21fc
|
|
| BLAKE2b-256 |
9685aa4e029e255fba2ebef4864ebd119191a660cd5ba2ddcd2afa78762b15fe
|