Function eos_rs::api::math::euclidean_norm
source · pub fn euclidean_norm(vec2: &[i32; 2]) -> f32
Expand description
Computes the Euclidean norm of a two-component integer array, sort of like hypotf(3).
pub fn euclidean_norm(vec2: &[i32; 2]) -> f32
Computes the Euclidean norm of a two-component integer array, sort of like hypotf(3).