pub fn length_sq<V: Num>(v: &[V]) -> V
Return the length^2 of the vector
use geo_nd::vector; assert_eq!( vector::length_sq(&[3., 4.]), 25. );