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.2.tar.gz
(34.3 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94cae761f590cb0d5152dcf1ef14b603f657d7e2d2ce77e70c34ec598d83a72b |
|
MD5 | 0afc2f42461ba0bd686ded5b8c3336b4 |
|
BLAKE2b-256 | d01ee4a95028ef387fe4ee7e3880db8309f50fb5f8439a84165fb322b87bd791 |