Skip to main content

dispatch_log_map

Function dispatch_log_map 

Source
pub fn dispatch_log_map(
    values: ArrayView2<'_, f64>,
    label: &str,
    base: Option<ArrayView1<'_, f64>>,
) -> Result<(Array2<f64>, Array1<f64>, String), String>
Expand description

String-driven response-geometry log map: parse the user label (with shape inference from the response column count), pick the base point (intrinsic Fréchet mean when base is None), map every row to its tangent, and report the canonical resolved label. This is the curved-manifold analogue of the sphere/simplex dispatch and the single entry the FFI calls for these geometries.