a 2D or 3D vector
an array of basis vectors
Given a vector (2D or 3D), using this vector as the first basis vector, find additional perpendicular vectors which all three span the space (2D or 3D) most effectively. (the vectors are all perpendicular).
a 2D or 3D vector