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.3.tar.gz (34.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: fiddy-0.0.3.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fiddy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0eb66c5c3d689c2aa4293da66d25f54dcdf6ff990c622250fc7ed0f0c82586f9
MD5 279dbf2f85fc423b6dfb77620ccb9abf
BLAKE2b-256 f734195c5246705528e4896acee9c262338d1c88d033689dde7c3947584fca1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for fiddy-0.0.3.tar.gz:

Publisher: deploy_pypi.yml on ICB-DCM/fiddy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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