Skip to main content

Finite difference methods

Project description

fiddy

Test suite PyPI Documentation

Finite difference methods, for applications including gradient computation and gradient checks.

Important notes

The output of your function of interest should be a NumPy array. If your function is scalar-valued, change it to a NumPy array with:

import numpy as np

def function(input_value: float) -> np.ndarray:
    scalar_output_value = old_function(input_value)
    return np.array([scalar_output_value])

Installation

Currently under development, please install from source.

pip install -e .

Can also be installed from PyPI

pip install fiddy

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

fiddy-0.0.2.tar.gz (34.3 kB view details)

Uploaded Source

File details

Details for the file fiddy-0.0.2.tar.gz.

File metadata

  • Download URL: fiddy-0.0.2.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for fiddy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 94cae761f590cb0d5152dcf1ef14b603f657d7e2d2ce77e70c34ec598d83a72b
MD5 0afc2f42461ba0bd686ded5b8c3336b4
BLAKE2b-256 d01ee4a95028ef387fe4ee7e3880db8309f50fb5f8439a84165fb322b87bd791

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page