Skip to main content

Tools for building spectral methods

Project description

The SpectralToolbox is a collection of tools useful for spectral approximation methods in one or more dimensions. It include the construction of traditional orthogonal polynomials. Additionally one can construct orthogonal polynomials with respect to a selected measure.

Description

Implementation of Spectral Methods in N dimension.

Available polynomials:
  • Jacobi

  • Hermite Physicist

  • Hermite Function

  • Hermite Probabilistic

  • Laguerre Polynomial

  • Laguerre Function

  • ORTHPOL package (generation of recursion coefficients using [1])

Available quadrature rules (related to selected polynomials):
  • Gauss

  • Gauss-Lobatto

  • Gauss-Radau

Available quadrature rules (without polynomial selection):
  • Kronrod-Patterson on the real line

  • Kronrod-Patterson uniform

  • Clenshaw-Curtis

  • Fejer’s

Installation

For everything to go smooth, I suggest that you first install some dependencies separately: numpy, scipy, matplotlib can be installed by:

$ pip install numpy scipy matplotlib

If you want to accelerate some of the functionalities and work with orthogonal polynomials with respect to arbitrary measures, you should intall the orthpol package. This dependency is optional. The installation might require you to tweak some flags for the compiler (with gcc nothing should be needed).

$ pip install orthpol

Finally you can install the toolbox by:

$ pip install SpectralToolbox

References

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

SpectralToolbox-0.2.0.tar.gz (677.7 kB view details)

Uploaded Source

File details

Details for the file SpectralToolbox-0.2.0.tar.gz.

File metadata

File hashes

Hashes for SpectralToolbox-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c2ef0a15517702e2cff037d417f137667207245651d2fe1dffcb326039322167
MD5 281d33e925edc10a147828b1b809b795
BLAKE2b-256 70fedb5d19d7b4bbb08566c8a8df0520463993c13250faab68d5d19ff9e16962

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