weights
Return Fornberg finite-difference weights for one stencil location.
Developer documentation: this item describes internal implementation details.
Declaration
c = weights(z,x,m)
Parameters
zevaluation locationxstencil grid pointsmhighest derivative order requested
Returns
cweight matrix whose rows correspond to derivative order