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(test, 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(test, 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.3.tar.gz
(1.4 kB
view hashes)