A small Python library for creating simple Monte Carlo simulations.
Project description
# pymontecarlo
A small Python library for creating simple Monte Carlo simulations.
## Installation
```bash
pip install montecarlo
```
## Usage
(Under construction)
```python
from montecarlo import montecarlo
def setup():
...
def test():
if (...):
return True
return False
mc = montecarlo(func, setup=setup)
mc.run(iterations=100000)
```
A small Python library for creating simple Monte Carlo simulations.
## Installation
```bash
pip install montecarlo
```
## Usage
(Under construction)
```python
from montecarlo import montecarlo
def setup():
...
def test():
if (...):
return True
return False
mc = montecarlo(func, setup=setup)
mc.run(iterations=100000)
```
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
montecarlo-0.1.1.tar.gz
(1.4 kB
view details)
File details
Details for the file montecarlo-0.1.1.tar.gz
.
File metadata
- Download URL: montecarlo-0.1.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23f6a6f83163475ff5e38f9113f1c8ef7f8622b2d8345b9fd24127b2e9f19748 |
|
MD5 | 01873471f2ee998b70077ca65c54fd10 |
|
BLAKE2b-256 | 4453e335aa6b12ae5f2f2839276518dee59229ebc1c4da23675cb3ed5ce6e6bc |