VectorN represents an N-dimensional vector with arbitrary length. This class provides basic vector operations using TypedArray for efficient memory usage.
Creates a new VectorN instance.
The typed array containing the vector components
Creates a deep copy of this vector.
A new VectorN instance with the same components as this vector
VectorN represents an N-dimensional vector with arbitrary length. This class provides basic vector operations using TypedArray for efficient memory usage.