Skip to main content

Tools for computing and working with derivatives of functions.

Project description

derivative-utils

PyPI - Version License: GPL v3 GitHub stars

A simple package for working with derivatives. This is in alpha, and may not work as intended.

Get exact expressions for derivatives

from derivative_utils import differentiate
from derivative_utils.expressions import *

y = X()*ln(X())
dydx = differentiate(y)
print(dydx)

The code will print (ln(x)+(x)^(-1)*x).

Expressions support addition, subtraction, multiplication, division, and exponentiation. Expressions will be automatically simplified, although current simplifcation is not perfect.

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

derivative_utils-0.2.3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

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

derivative_utils-0.2.3-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file derivative_utils-0.2.3.tar.gz.

File metadata

  • Download URL: derivative_utils-0.2.3.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for derivative_utils-0.2.3.tar.gz
Algorithm Hash digest
SHA256 8822d39dd03b15222893a42b517f32b36e3876f4e60391d174cf1172b0214882
MD5 a9a07112f823566eea54d252ed61a872
BLAKE2b-256 b495f2fe92609ffb205848c8f0bfbae3d0e39d58efe31467190279ff8e6b8b57

See more details on using hashes here.

File details

Details for the file derivative_utils-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: derivative_utils-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for derivative_utils-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 19cfebec9a78f41c3f99867cb48efbf3fe9852724e09d22de69e464b2dd51d2f
MD5 b24f7a45480a7e0f3c53e8c77a318a76
BLAKE2b-256 83f0c4291d2fcf430d03be5220afbea4f3d8c2a8a81b557779c31492ee672051

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