Skip to main content

srsf_transform

Function srsf_transform 

Source
pub fn srsf_transform(data: &FdMatrix, argvals: &[f64]) -> FdMatrix
Expand description

Compute the Square-Root Slope Function (SRSF) transform.

For each curve f, the SRSF is: q(t) = sign(f'(t)) * sqrt(|f'(t)|)

§Arguments

  • data — Functional data matrix (n × m)
  • argvals — Evaluation points (length m)

§Returns

FdMatrix of SRSFs with the same shape as input.