Function vec2::len_values [−][src]
pub fn len_values<T>(x: &T, y: &T) -> T where
T: Real,
&'a T: Mul<&'b T, Output = T>,
Example
assert_eq!(vec2::len_values(&1_f32, &1_f32), 2_f32.sqrt());
pub fn len_values<T>(x: &T, y: &T) -> T where
T: Real,
&'a T: Mul<&'b T, Output = T>,
assert_eq!(vec2::len_values(&1_f32, &1_f32), 2_f32.sqrt());