Computes the numerical gradient (first derivative) of functional data using
a 5-point stencil for uniform grids (O(h^4) accuracy) or 3-point Lagrange
for non-uniform grids. Complementary to deriv.fdata which uses
central differences.
Computes the numerical gradient (first derivative) of functional data using
a 5-point stencil for uniform grids (O(h^4) accuracy) or 3-point Lagrange
for non-uniform grids. Complementary to deriv.fdata which uses
central differences.