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
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3a4f1f98345cbe18171d879b54aa9d255bbf2e73d3ed93b83fd3c325a0e5364
|
|
| MD5 |
02f09cceb36337f2991d006afceb9e8c
|
|
| BLAKE2b-256 |
1d132729868490ce1b69b5a04ce70630b6d2195dba6fe803b0f822a743158e6a
|
Provenance
The following attestation bundles were made for fiddy-0.0.4.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.4.tar.gz -
Subject digest:
a3a4f1f98345cbe18171d879b54aa9d255bbf2e73d3ed93b83fd3c325a0e5364 - Sigstore transparency entry: 2084332609
- Sigstore integration time:
-
Permalink:
ICB-DCM/fiddy@c081354a8248c8ec08aab97256f0c0997d09b9f0 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/ICB-DCM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy_pypi.yml@c081354a8248c8ec08aab97256f0c0997d09b9f0 -
Trigger Event:
release
-
Statement type: