R/RcppExports.R
derivative_cpp.Rd
Computes the first derivative using centered differences, mirroring sfsmisc::D1tr.
derivative_cpp(x, gridpts, n_cores = 1L)
Numeric Matrix (smoothed values)
Grid points corresponding to columns of x
Number of cores to use