pub fn map<F, T>(f: F, xs: &Vec<T>) -> Vec<T>where F: Fn(T) -> T, T: Real + Default,
Explicit version of map
map