Math library for embedded systems intended for robotics, VR systems, flight software etc.
"[There are] addicts of mathematics,
for whom the science of mathematics is not a logical game,
but the language in which the physical universe speaks to us,
and whose mastery is inevitable for the comprehension of natural phenomena."
Cornelius Lanczos (1893-1974)
- How did inline solve the problem with the multiple definition of specialized member functions (
compute_det()
) and functions of derived classes (Quaternion::Quaternion(const float (&array)[4])
)? Is it good solution? - Use const to the functions where you don't want the member variables to be changed inside.
- Base class should have virtual destructor. Otherwise the child objects will not be destructed.
- inline accessors
- Initializer list for data members that are objects.