Function compute_bounds

Source
pub fn compute_bounds<T: RealType>(arr: ArrayView2<'_, T>) -> [[T; 2]; 3]
Expand description

Compute the bounds of a (3, N) array

This function returns a (3, 2) array bounds, where bounds[i][0] is the lower bound along the ith axis, and bounds[i][1] is the upper bound along the jth axis.

ยงArguments

  • arr - A (3, N) array.