Skip to main content

linfinity_depth

Function linfinity_depth 

Source
pub fn linfinity_depth(
    data_obj: &FdMatrix,
    data_ori: &FdMatrix,
    dim: Dim,
) -> Result<Vec<f64>, FdarError>
Expand description

Compute L-infinity depth for 1D or 2D functional data via a unified Dim dispatch.

The 2D path never diverged from the 1D one, so both Dim arms forward to [linfinity_depth_1d]. The dim argument makes caller intent explicit.