|
Metis 2.0.0
High-performance C++20 dual-mode numerical framework
|
2D and 3D rotation matrices and Euler angle conversions More...
#include "metis/core/MetisConcepts.hpp"#include "metis/core/MetisError.hpp"#include "metis/core/MetisTypes.hpp"#include "metis/math/Arithmetic.hpp"#include "metis/math/Linalg.hpp"#include "metis/math/Trig.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | metis |
Functions | |
| template<typename T> | |
| Mat2< T > | metis::rotation_matrix_2d (const T &theta) |
| Creates a 2x2 rotation matrix. | |
| template<typename T> | |
| Mat3< T > | metis::rotation_matrix_3d (const T &theta, int axis) |
| Creates a 3x3 rotation matrix about a principal axis. | |
| template<typename T> | |
| Mat3< T > | metis::rotation_matrix_from_euler_angles (const T &roll, const T &pitch, const T &yaw) |
| Creates a 3x3 rotation matrix from Euler angles (Yaw-Pitch-Roll sequence). | |
| template<typename Derived> | |
| auto | metis::is_valid_rotation_matrix (const Eigen::MatrixBase< Derived > &a, double tol=1e-9) |
| Checks if matrix is a valid rotation matrix Checks determinant approx 1 and orthogonality (A^T * A approx I). | |
2D and 3D rotation matrices and Euler angle conversions