The :mod:`pygame2.math` C API contains various objects and functions for math and vector operations.
The PyVector object is a generic vector implementation, which can deal with any dimension size. Specialized (and in some terms faster) implementations for 2 and 3 dimensions can be found in the :ctype:`PyVector2` and :ctype:`PyVector3` implementations.
A specialized :ctype:`PyVector` class limited to two dimensions.
A specialized :ctype:`PyVector` class limited to three dimensions.