pub fn linear_combination<K>(u: &[Vector<K>], coefs: &[K]) -> Vector<K>where K: Copy + Default + Add<Output = K> + Mul<Output = K>,