The GlLinearMath package has C++ classes for handling vectors matrices in R2, R3, and R4. The source code files are LinearR2.[h,cpp], LinearR3.[h,cpp] and LinearR4.[h,cpp]. It also has some miscellaneous math functions in MathMisc.h. The LinearR4 code includes some support for homogeneous vectors, using 4-vectors to represent points in R3.

(MORE THINGS ARE COMING)

Available for download:

Version 4.2 of GlLinearMath, September 12, 2020. (Successor to VrMath.)