pyCollocation
Overview
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:
The source code for the pyPWT package is hosted on GitHub.
Installation
Assuming you have pip on your computer (as will be the case if you’ve installed Anaconda) you can install the latest stable release of pycollocation
by typing
at a terminal prompt.
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
- Ramsey model of optimal savings
- Spence model of costly signaling
- Kiyotaki and Moore model of credit cycles
Physics
More notebooks will be added in the near future (hopefully!)