Usually the static array has length 3, so most applications will make use of this efficient array and avoid dynamic allocation. The subscript operator assumes that the base equals 1.
Several constructors are available.
The constructor without parameters allocates no memory. Another constructor takes the number of entries in the vector as parameter and allocates memory for the corresponding vector representation. There are also constructors for 2D and 3D points. A copy-constructor is also available. Most member functions are self-explanatory.