Skip to main content

orbit_representative

Function orbit_representative 

Source
pub fn orbit_representative(
    f: &[f64],
    argvals: &[f64],
    quotient: ShapeQuotient,
) -> Result<OrbitRepresentative, FdarError>
Expand description

Compute the canonical orbit representative of a curve.

Applies the quotient transformations (centering, scaling) and computes the SRSF of the result. The warping function is the identity.

§Arguments

  • f — Curve values (length m).
  • argvals — Evaluation points (length m).
  • quotient — Which transformations to factor out.

§Errors

Returns FdarError::InvalidDimension if lengths do not match or m < 2.