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.3.0.tar.gz (17.6 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.3.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: derivative_utils-0.3.0.tar.gz
  • Upload date:
  • Size: 17.6 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.3.0.tar.gz
Algorithm Hash digest
SHA256 c5e5f9d7578aa7552d9c436a659b7138db5ac55429ecf4e2150f21e75b4e1156
MD5 9f664af493c1aecd9c28842dcaf56626
BLAKE2b-256 c002656bc03969d9220977c6258cbbd2881bd1ddbcfb343964933eb400084c9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: derivative_utils-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d20613d5f10b6013f7daadbe72e6a25c79a13834e91af28f1fc6659c0e76729e
MD5 7d28b9eea1c317f7835c2c2f361dd2ae
BLAKE2b-256 07c963f139170043b3f7512e60acc9c0f93a04e89076421ebb79b47800ac130b

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