pub fn invert_warp(
gamma: &[f64],
argvals: &[f64],
) -> Result<Vec<f64>, FdarError>Expand description
Compute the inverse of a warping function.
Given γ: [a,b] → [a,b], computes γ⁻¹ such that γ⁻¹(γ(t)) ≈ t. The inverse is computed by mapping to [0,1], calling the sphere-based inverse from the warping module, and mapping back to the original domain.
§Errors
Returns FdarError::InvalidDimension if lengths do not match or m < 2.