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.2.tar.gz (16.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.2.2-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: derivative_utils-0.2.2.tar.gz
  • Upload date:
  • Size: 16.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.2.2.tar.gz
Algorithm Hash digest
SHA256 7b9a7dd653aac0839e9a19df2cdca62c0918e2bd655c103963693406874dcd4c
MD5 776746a0c32271ee5dff0b5f732c98ea
BLAKE2b-256 fbfd4fa4f49714a45fec2649c3c98470e15824f060f0a4ee2374d5e49a9b534b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: derivative_utils-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 17.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cb82968025e969744d8b5bdc254cec1cc70378bd5e2fe7eeb8f95f7fb43fde5c
MD5 0bcff1c89ff36b9b234a49f75877208d
BLAKE2b-256 d87fad1c90f33dc90e3a8d352cf2c77f91d207f6997db4c1a0692f2a38922153

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