Return weights for an Np-point central derivative.
Assumes equally-spaced function points.
If weights are in the vector w, then derivative is w * f(x-ho*dx) + … + w[-1] * f(x+h0*dx)
Number of points for the central derivative.
- ndivint, optional
Number of divisions. Default is 1.
Can be inaccurate for a large number of points.