Skip to main content

A package that implements Lanczos' Tau method to solve differential problems

Project description

Tau Toolbox

AUTHORS:

   Paulo B. Vasconcelos
   Centro de Matemática - Universidade do Porto
   Email: pjv@fep.up.pt

   José M. A. Matos
   Centro de Matemática - Universidade do Porto
   Email: jma@isep.ipp.pt

   José A. O. Matos
   Centro de Matemática - Universidade do Porto
   Email: jamatos@fep.up.pt

   Nilson Lima

REFERENCE:

   Solving differential eigenproblems via the spectral Tau method
   NUMERICAL ALGORITHMS
   DOI: https://doi.org/10.1007/s11075-022-01366-z

SOFTWARE REVISION DATE:

   Version 0.90 : 2025-12-31

SOFTWARE LANGUAGE:

   MATLAB 9.12.0 (R2022a)
   Octave 8.1.0

Tau Toolbox is a Python library for the solution of integro-differential problems based on the Lanczos' Tau method.

Tau Toolbox is free software released under the GNU Lesser General Public License version 3 (LGPLv3). A copy of the License is enclosed in the project.

Installation

Just clone the Tau Toolbox repository following git clone https://bitbucket.org/tautoolbox/taupy.git.

Tau Toolbox can also be obtained at https://cmup.fc.up.pt/tautoolbox/.

Tautoolbox requires Python 3.10 together with the following modules:

  • numpy
  • matplotlib

Help

A Tau Toolbox User Guide will be made available soon, along with a set of Technical Reports.

Support

The project is very recent. Nevertheless it has been thoroughly tested. The project supports the tool in the sense that reports of errors or poor performance will gain immediate attention from the developers.

Getting started

The best way to get started is by using the many examples provided.

Tackle your problems with ease:

  • To solve the ordinary differential problem $y''(x)+y(x)= 0$ in $[0,2\pi]$ with $y(0)=1$ and $y'(2\pi)=0$, just type:
import tautoolbox as tau
import numpy as np
from tautoolbox.functions import diff, linspace
import matplotlib.pyplot as plt

equation = lambda x, y: diff(y, 2) + y
domain = [0, 2 * np.pi]
conditions = lambda y: [y(0) - 1, y.diff(1, 2 * np.pi)]
problem = tau.problem(equation, domain, conditions)
yn = tau.solve(problem)[0]

x = linspace(yn)
plt.plot(x, yn(x))

You can find more examples in the examples folder.

Notice that we refer sometimes to taupy, this is not to be confused with the taupy package. This reference, that we have used internally since 2021, refers to the Python implementation of the Matlab/Octave Tautoolbox. There are some small differences between both implementations but the general structure is the same, and as long as possible, the syntax is also the same adapted to the syntax of the languages.

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

tautoolbox-0.90.0.tar.gz (119.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tautoolbox-0.90.0-py3-none-any.whl (123.8 kB view details)

Uploaded Python 3

File details

Details for the file tautoolbox-0.90.0.tar.gz.

File metadata

  • Download URL: tautoolbox-0.90.0.tar.gz
  • Upload date:
  • Size: 119.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for tautoolbox-0.90.0.tar.gz
Algorithm Hash digest
SHA256 da51b959a2af8a04e39261ce64d7223a5e095eecbb28f4ac396d77a316fc613a
MD5 0dbd69ad0ad2835f9451f81c48831551
BLAKE2b-256 38411adb37ac57a48f4437f80683a42d6f0896b66cc051caa142616f717556be

See more details on using hashes here.

File details

Details for the file tautoolbox-0.90.0-py3-none-any.whl.

File metadata

  • Download URL: tautoolbox-0.90.0-py3-none-any.whl
  • Upload date:
  • Size: 123.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for tautoolbox-0.90.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d279ca9411ab0a17217cfb98819bd027c9cc04d5b7225d6b954c6db4501e8c1
MD5 556c1e0a1b769056db9dc3d0a6eda5eb
BLAKE2b-256 8a55cd4a9253a2d38e7f7fcd7d828b74dac3a0b8f2d34c7eee106f56aa84b112

See more details on using hashes here.

Supported by

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