Skip to main content

srsf_transform_nd

Function srsf_transform_nd 

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

Compute the SRSF transform for multidimensional (R^d) curves.

For f: [0,1] → R^d, the SRSF is q(t) = f’(t) / √‖f’(t)‖ where ‖·‖ is the Euclidean norm in R^d. For d=1 this reduces to sign(f') · √|f'|.

§Arguments

  • data — Set of n curves in R^d, each with m evaluation points
  • argvals — Evaluation points (length m)

§Returns

FdCurveSet of SRSF values with the same shape as input.