A Programmer's Introduction to Mathematics
This repository contains the code implementing the applications from each chapter of A Programmer's Introduction to Mathematics. All code is written in Python 3.x. Feel free to submit a pull request if you find a bug.
To install the requirements and run the examples, using pip and virtualenv (Python's standard packaging tools):
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
To run the test suite:
pytest
# with code coverage
pytest --cov-report html:cov_html --cov-report annotate:cov_annotate --cov
Docker
To build and run the code in the repository with docker, run
docker build -t pimbook -f Dockerfile .
docker run -it --name pimbook pimbook:latest