Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.01 KB

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