Finite difference methods
Project description
fiddy
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
Release history Release notifications | RSS feed
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0eb66c5c3d689c2aa4293da66d25f54dcdf6ff990c622250fc7ed0f0c82586f9
|
|
| MD5 |
279dbf2f85fc423b6dfb77620ccb9abf
|
|
| BLAKE2b-256 |
f734195c5246705528e4896acee9c262338d1c88d033689dde7c3947584fca1b
|
Provenance
The following attestation bundles were made for fiddy-0.0.3.tar.gz:
Publisher:
deploy_pypi.yml on ICB-DCM/fiddy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fiddy-0.0.3.tar.gz -
Subject digest:
0eb66c5c3d689c2aa4293da66d25f54dcdf6ff990c622250fc7ed0f0c82586f9 - Sigstore transparency entry: 623413982
- Sigstore integration time:
-
Permalink:
ICB-DCM/fiddy@5658774ec6a85621ada1d25ecd06a52f2483464b -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/ICB-DCM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy_pypi.yml@5658774ec6a85621ada1d25ecd06a52f2483464b -
Trigger Event:
release
-
Statement type: