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()*StdFunction("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.0.tar.gz (16.3 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.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: derivative_utils-0.2.0.tar.gz
  • Upload date:
  • Size: 16.3 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.0.tar.gz
Algorithm Hash digest
SHA256 5b0d3eefa43b2c42b18e4ea9c642524ddf562b1c62a15f1fd18bd2e4a0d0ba89
MD5 b42e75f27f22ccd3884536ed823d594c
BLAKE2b-256 60b28d246de20ac9508793b1fcb7029b61f2a536ffa946a1062e21adc4956a64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: derivative_utils-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa32fc77ea9c24ba2c262f3fbdcd3b2174594bea75844250be7c9f64aba26fcd
MD5 c2646fdb8e2da73aff06899c0789926b
BLAKE2b-256 8632cbc89e412cfcc2bc0d978f3856449f79b09c87238aa5a24df2d43891e1b5

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