Skip to main content

Tools for computing and working with derivatives of functions.

Project description

derivative-utils

PyPI - Version License: GPL v3

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 package will return (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.1.tar.gz (16.5 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.1-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: derivative_utils-0.2.1.tar.gz
  • Upload date:
  • Size: 16.5 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.1.tar.gz
Algorithm Hash digest
SHA256 3d2d46bd56491eab0beedec9b04a2cc72974c526ad0e09d1f76fcb561b74181e
MD5 6d2d77ec2d32a951aebdcfb39a96a59e
BLAKE2b-256 ed120b55008ad837d71efdd945afe2b02ba506bbe44a3f4711bfb9f8dd211a76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: derivative_utils-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 17.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 23e1956732077c4bc7229ef76ca6416df5e7e5ea735672bcb5fa68bd78841a97
MD5 24fd9f69e3dd40ffebb5bceeed360b58
BLAKE2b-256 84c65f493d4298ee175dc425db3ec8a36fb9e2d842b2242975cb5e582644a165

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