<commit_before># pyCollocation

[![Build Status](https://travis-ci.org/davidrpugh/pyCollocation.svg?branch=master)](https://travis-ci.org/davidrpugh/pyCollocation)
[![Coverage Status](https://coveralls.io/repos/davidrpugh/pyCollocation/badge.svg?branch=master)](https://coveralls.io/r/davidrpugh/pyCollocation?branch=master)
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.16709.svg)](http://dx.doi.org/10.5281/zenodo.16709)

Python package for solving initial value problems (IVP) and two-point boundary value problems (2PBVP) using the collocation method with various basis functions. Currently I have implemented the following basis functions:

* Orthogonal polynomials: [Chebyshev](http://en.wikipedia.org/wiki/Chebyshev_polynomials), [Laguerre](http://en.wikipedia.org/wiki/Laguerre_polynomials), [Legendre](http://en.wikipedia.org/wiki/Legendre_polynomials), and [Hermite](http://en.wikipedia.org/wiki/Hermite_polynomials).


## Example notebooks

### Economics
There are a number of example notebooks that demonstrate how to use the library to solve seminal models in the economics literature.

* [Solow model of economic growth](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/solow-model.ipynb)
* [Ramsey-Cass-Koopmans model of optimal savings](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/ramsey-model.ipynb)
* [Spence model of costly signaling](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/spence-model.ipynb)
* [Credit cycles](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/credit-cycles.ipynb)

### Physics

* [A simple heat exchanger](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/heat-exchanger.ipynb)

More notebooks will be added in the near future (hopefully!)<commit_msg>Updated the zenodo badge with new DOI.<commit_after># pyCollocation

[![Build Status](https://travis-ci.org/davidrpugh/pyCollocation.svg?branch=master)](https://travis-ci.org/davidrpugh/pyCollocation)
[![Coverage Status](https://coveralls.io/repos/davidrpugh/pyCollocation/badge.svg?branch=master)](https://coveralls.io/r/davidrpugh/pyCollocation?branch=master)
[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.16721.svg)](http://dx.doi.org/10.5281/zenodo.16721)

Python package for solving initial value problems (IVP) and two-point boundary value problems (2PBVP) using the collocation method with various basis functions. Currently I have implemented the following basis functions:

* Orthogonal polynomials: [Chebyshev](http://en.wikipedia.org/wiki/Chebyshev_polynomials), [Laguerre](http://en.wikipedia.org/wiki/Laguerre_polynomials), [Legendre](http://en.wikipedia.org/wiki/Legendre_polynomials), and [Hermite](http://en.wikipedia.org/wiki/Hermite_polynomials).


## Example notebooks

### Economics
There are a number of example notebooks that demonstrate how to use the library to solve seminal models in the economics literature.

* [Solow model of economic growth](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/solow-model.ipynb)
* [Ramsey-Cass-Koopmans model of optimal savings](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/ramsey-model.ipynb)
* [Spence model of costly signaling](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/spence-model.ipynb)
* [Credit cycles](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/credit-cycles.ipynb)

### Physics

* [A simple heat exchanger](http://nbviewer.ipython.org/github/davidrpugh/pyCollocation/blob/master/examples/heat-exchanger.ipynb)

More notebooks will be added in the near future (hopefully!)
{'fraction_non_alphanumeric': 0.13533634671629885, 'fraction_numerical': 0.012230789683594789, 'mean_word_length': 6.152091254752852, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3034856', 'n_tokens_mistral': 1343, 'n_tokens_neox': 1230, 'n_words': 207}