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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for fiddy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a3a4f1f98345cbe18171d879b54aa9d255bbf2e73d3ed93b83fd3c325a0e5364
MD5 02f09cceb36337f2991d006afceb9e8c
BLAKE2b-256 1d132729868490ce1b69b5a04ce70630b6d2195dba6fe803b0f822a743158e6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fiddy-0.0.4.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