/// Creates a new Vector from a Vec
Creates a new Vector from a Vec
Creates a new Vector from a Vec
pub fn new(components: Vec<f64>) -> Vector {
        Vector {
            dimension: components.len() as usize,
            components,
        }
    }
pub fn new ( components : Vec < f64 > ) -> Vector { Vector { dimension : components . len ( ) as usize , components , } }
Creates a new Vector from a Vec
Creates a new Vector from a Vec
components
Vec<f64>