Helper functions for linear algebra calculations. More...
Go to the source code of this file.
Classes | |
struct | GrvxVec3D |
3D vector in cartesian representation. More... | |
Functions | |
double | grvx_dot (struct GrvxVec3D a, struct GrvxVec3D b) |
Dot product of a and b . More... | |
double | grvx_mag (struct GrvxVec3D v) |
Magnitude of vector. More... | |
Helper functions for linear algebra calculations.
Dot product of a
and b
.
a | First vector. |
b | Second vector. |
double grvx_mag | ( | struct GrvxVec3D | v | ) |
Magnitude of vector.
v | Vector. |