Function rdcl_aoc_helpers::math::taxi_cab_4d
source · pub fn taxi_cab_4d<T>(
(xa, ya, za, wa): (T, T, T, T),
(xb, yb, zb, wb): (T, T, T, T)
) -> Twhere
T: Add<T, Output = T> + Sub<T, Output = T> + Ord + Copy,
Expand description
The taxi cab distance between two 4D points.