Skip to main content

A Python package for finite difference derivatives in any number of dimensions.

Project description

A Python package for finite difference derivatives in any number of dimensions.


  • Differentiate arrays of any number of dimensions along any axis

  • Partial derivatives of any desired order

  • Accuracy order can be specified

  • Accurate treatment of grid boundary

  • Includes standard operators from vector calculus like gradient, divergence and curl

  • Can handle uniform and non-uniform grids

  • Can handle arbitrary linear combinations of derivatives with constant and variable coefficients

  • Fully vectorized for speed

  • Calculate raw finite difference coefficients for any order and accuracy for uniform and non-uniform grids

  • _New in version 0.7:_ Generate matrix representations of arbitrary linear differential operators

  • _New in version 0.8:_ Solve partial differential equations with Dirichlet or Neumann boundary conditions

  • _New in version 0.9:_ Generate differential operators for generic stencils

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

findiff-0.9.2.tar.gz (27.3 kB view hashes)

Uploaded source

Built Distribution

findiff-0.9.2-py3-none-any.whl (30.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page