Skip to main content

Finite difference coefficient estimator

Project description

Python implementation of the algorithm presented in:

Fornberg, B. (1988). Generation of finite difference formulas on arbitrarily spaced grids. Mathematics of computation, 51(184), 699-706.

This algorithm can estimate the coefficients of the finite difference formula used to estimate any derivative of an unidimensional function at a point x_0 given a grid of points (mostly neighbors of x_0). The accuracy level is determined by the number of grid points used in each estimation.

Highlights

  1. Grid points do not have to be equally spaced.

  2. x_0 does not have to be one of the grid points.

  3. As a result of 2., the algorithm can also be used to interpolate a function at a point x_0, by using the coefficients of the derivative of order zero.

  4. In a single M order derivative approximation the coefficients needed to estimate the derivative at any order from zero to M are calculated.

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

fdce-0.1.1a5.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distributions

fdce-0.1.1a5-cp310-cp310-win_amd64.whl (10.3 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

fdce-0.1.1a5-cp310-cp310-win32.whl (9.8 kB view hashes)

Uploaded CPython 3.10 Windows x86

fdce-0.1.1a5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.6 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

fdce-0.1.1a5-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (19.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

fdce-0.1.1a5-cp310-cp310-macosx_10_9_x86_64.whl (7.4 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

fdce-0.1.1a5-cp39-cp39-win_amd64.whl (10.3 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

fdce-0.1.1a5-cp39-cp39-win32.whl (9.8 kB view hashes)

Uploaded CPython 3.9 Windows x86

fdce-0.1.1a5-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

fdce-0.1.1a5-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (19.7 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

fdce-0.1.1a5-cp39-cp39-macosx_10_9_x86_64.whl (7.4 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

fdce-0.1.1a5-cp38-cp38-win_amd64.whl (10.3 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

fdce-0.1.1a5-cp38-cp38-win32.whl (9.8 kB view hashes)

Uploaded CPython 3.8 Windows x86

fdce-0.1.1a5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

fdce-0.1.1a5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (19.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

fdce-0.1.1a5-cp38-cp38-macosx_10_9_x86_64.whl (7.4 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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