Python wrapper for Fortran90 toeplitz package to solve a variety of Toeplitz and circulant linear systems
Project description
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
Toeplitz can be installed with the command pip toeplitz. To install toeplitz into a fresh conda environment run:
conda create -n toeplenv numpy scipy gfortran_linux-64 conda activate toeplenv pip install toeplitz toeplitz-runtests
For OSX the package gfortran_osx-64 must be used instead of gfortran_linux-64. For Windows you need to install the FORTRAN compiler yourself (MinGW).
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
File details
Details for the file toeplitz-0.2.0.tar.gz
.
File metadata
- Download URL: toeplitz-0.2.0.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b59dbec0510accd782eaecf01fa63a49c81b582ddda3d1637cdacf265af3f5 |
|
MD5 | e8010eb19256e0040e227b745c36b130 |
|
BLAKE2b-256 | be2d6f80b53192be0912431f48ae8e360b0e4e635907713bc5a640d083a19e3b |