This is documentation for an old release of SciPy (version 0.10.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.misc.central_diff_weights

scipy.misc.central_diff_weights(Np, ndiv=1)

Return weights for an Np-point central derivative of order ndiv assuming equally-spaced function points.

If weights are in the vector w, then derivative is w[0] * f(x-ho*dx) + ... + w[-1] * f(x+h0*dx)

Notes

Can be inaccurate for large number of points.

Previous topic

scipy.misc.bytescale

Next topic

scipy.misc.comb

This Page