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