Skip to main content

deriv_1d

Function deriv_1d 

Source
pub fn deriv_1d(
    data: &[f64],
    n: usize,
    m: usize,
    argvals: &[f64],
    nderiv: usize,
) -> Vec<f64>
Expand description

Compute numerical derivative of functional data (parallelized over rows).

§Arguments

  • data - Column-major matrix (n x m)
  • n - Number of samples
  • m - Number of evaluation points
  • argvals - Evaluation points
  • nderiv - Order of derivative

§Returns

Derivative data matrix (column-major)