pub fn normalize<T: Float + Sum>(v: &[T]) -> impl Iterator<Item = T> + '_
L2 normalize a vector.
Returns an iterator of normalized values.