|
Biorbd Release_1.13.0
|
A wrapper for the Eigen::MatrixXd. More...
#include <Matrix3d.h>
Public Member Functions | |
| Matrix3d () | |
| Construct matrix. | |
| Matrix3d (const Matrix3d &other) | |
| Construct a new Matrix3d from other. | |
| Matrix3d (const Scalar &v00, const Scalar &v01, const Scalar &v02, const Scalar &v10, const Scalar &v11, const Scalar &v12, const Scalar &v20, const Scalar &v21, const Scalar &v22) | |
| Rotation Construct a generic 3d matrix by elements. | |
| utils::Scalar | normOne () const |
| Return the 1-norm of the matrix. | |
| utils::Scalar | normInf () const |
| Return the inf-norm of the matrix. | |
| utils::Matrix3d | orthoNormalize () const |
| Produce an orthonormal matrix from the current matrix. | |
Static Public Member Functions | |
| static utils::Matrix3d | fromEulerSequence (const utils::String &seq) |
| Creates a base 3d matrix from a euler sequence of exactly 3 elements. | |
A wrapper for the Eigen::MatrixXd.
Definition at line 19 of file Matrix3d.h.
| utils::Matrix3d::Matrix3d | ( | ) |
Construct matrix.
Definition at line 9 of file Matrix3d.cpp.
| utils::Matrix3d::Matrix3d | ( | const Matrix3d & | other | ) |
Construct a new Matrix3d from other.
| other | The other matrix |
Definition at line 11 of file Matrix3d.cpp.
| utils::Matrix3d::Matrix3d | ( | const Scalar & | v00, |
| const Scalar & | v01, | ||
| const Scalar & | v02, | ||
| const Scalar & | v10, | ||
| const Scalar & | v11, | ||
| const Scalar & | v12, | ||
| const Scalar & | v20, | ||
| const Scalar & | v21, | ||
| const Scalar & | v22 ) |
Rotation Construct a generic 3d matrix by elements.
| v00 | Row 0, Col 0 |
| v01 | Row 0, Col 1 |
| v02 | Row 0, Col 2 |
| v10 | Row 1, Col 0 |
| v11 | Row 1, Col 1 |
| v12 | Row 1, Col 2 |
| v20 | Row 2, Col 0 |
| v21 | Row 2, Col 1 |
| v22 | Row 2, Col 2 |
Definition at line 14 of file Matrix3d.cpp.
|
static |
Creates a base 3d matrix from a euler sequence of exactly 3 elements.
| seq | The euler sequence |
Definition at line 67 of file Matrix3d.cpp.
| utils::Scalar utils::Matrix3d::normInf | ( | ) | const |
Return the inf-norm of the matrix.
Definition at line 46 of file Matrix3d.cpp.
| utils::Scalar utils::Matrix3d::normOne | ( | ) | const |
Return the 1-norm of the matrix.
Definition at line 36 of file Matrix3d.cpp.
| utils::Matrix3d utils::Matrix3d::orthoNormalize | ( | ) | const |
Produce an orthonormal matrix from the current matrix.
Code adapted from https://github.com/brainexcerpts/3x3_polar_decomposition/blob/master/src/polar_decomposition_3x3.inl
Definition at line 56 of file Matrix3d.cpp.