pint.utils.numeric_partial

pint.utils.numeric_partial(f, args, ix=0, delta=1e-06)[source]

Compute the partial derivative of f numerically.

This uses symmetric differences to estimate the partial derivative of a function (that takes some number of numeric arguments and may return an array) with respect to one of its arguments.