|
Janus 2.0.0
High-performance C++20 dual-mode numerical framework
|
2D and 3D rotation matrices and Euler angle conversions More...
#include "janus/core/JanusConcepts.hpp"#include "janus/core/JanusError.hpp"#include "janus/core/JanusTypes.hpp"#include "janus/math/Arithmetic.hpp"#include "janus/math/Linalg.hpp"#include "janus/math/Trig.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | janus |
Functions | |
| template<typename T> | |
| Mat2< T > | janus::rotation_matrix_2d (const T &theta) |
| Creates a 2x2 rotation matrix. | |
| template<typename T> | |
| Mat3< T > | janus::rotation_matrix_3d (const T &theta, int axis) |
| Creates a 3x3 rotation matrix about a principal axis. | |
| template<typename T> | |
| Mat3< T > | janus::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 | janus::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