pub type Vector2<T> = Vector<T, 2>;
Type alias for 2d vector
Create a new 2D vector
let v = Vector::new2(1, 2); assert_eq!(v.dimensions(), 2);