// Authors: Unknown. Please, if you are the author of this file, or if you // know who are the authors of this file, let us know, so we can give the // adequate credits and/or get the adequate authorizations. #ifndef RODRIGUES_H #define RODRIGUES_H #include "matrix.h" #include namespace libNumerics { /// Skew-symmetric matrix of 3-vector v. template matrix skew(const vector& v); /// Rodrigues's rotation: exp(w_x). template matrix rotation(vector w); /// Inverse Rodrigues's formula: w s.t. R=exp(w_x). template vector rotationAxis(const matrix& R); } // libNumerics #include "rodrigues.cpp" #endif