Python wrapper for Fortran90 toeplitz package to solve a variety of Toeplitz and circulant linear systems
Fortran Python
Switch branches/tags
Latest commit dae6107 Jul 13, 2016 @trichter https link instead of http
Permalink
Failed to load latest commit information.
scripts change author 2 Jun 2, 2015
src small change Aug 28, 2013
.gitignore add manifest Nov 29, 2013
.travis.yml
LICENSE
MANIFEST.in bugfix Nov 30, 2013
README.rst
setup.py

README.rst

toeplitz

Python wrapper for Fortran90 toeplitz package to solve a variety of Toeplitz and circulant linear systems

buildstatus version pyversions

The wrapped Fortran90 toeplitz package was written by John Burkardt and is distributed under GNU LGPL license. It can be obtained from John Burkhardt's website. There you can additionally find a short documentation and the following description:

TOEPLITZ is a FORTRAN90 library which solves a variety of Toeplitz and circulant linear systems. The package can also handle circulant Toeplitz systems, and some other more complicated but related forms. The TOEPLITZ package was written in the early 1980's by a joint working group of American and Soviet mathematicians. The original, true, correct version of TOEPLITZ is available in the TOEPLITZ subdirectory of the NETLIB web site.

This wrapper is based on numpy/f2py and provides a python interface for all fortran subroutines *_sl. Only the functions sto_sl and cto_sl (solve linear Toeplitz systems) are tested. They provide acceptable accuracy compared to scipy.linalg and run faster for large inputs. All other routines are not tested, but should work. For more documentation than on John Burkardt's website check the source file toeplitz.f90.

Installation

After installing the required NumPy package you can install e.g. via pip by running:

pip install toeplitz

Alternatively download the source code and run:

python setup.py install

The tests can be run with the script (SciPy installation necessary):

toeplitz-runtests