Skip to main content

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

Project description

target:

https://doi.org/10.5281/zenodo.3953662

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 -c conda-forge numpy scipy fortran-compiler
conda activate toeplenv
pip install toeplitz
toeplitz-runtests

The fortran-compiler metapackage helps finding the right fortran compiler and its dependencies for any OS.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

toeplitz-0.3.2.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file toeplitz-0.3.2.tar.gz.

File metadata

  • Download URL: toeplitz-0.3.2.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for toeplitz-0.3.2.tar.gz
Algorithm Hash digest
SHA256 62a405bb7b5286fcc9ff0122f0af5d95df725687f916a70c908ffd3e11efdcdf
MD5 7d7ec0595dd3a82acb862fff532c382f
BLAKE2b-256 802c1f4b4d400e9eb458d6be74bfab7a65e532ff1eefc9b02e109800d92d83fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page