Biorbd Release_1.13.0
Loading...
Searching...
No Matches
Matrix2d.cpp
1#define BIORBD_API_EXPORTS
2#include "Utils/Matrix2d.h"
3
4#include "Utils/Error.h"
5#include "Utils/Vector.h"
6
7using namespace BIORBD_NAMESPACE;
8
9utils::Matrix2d::Matrix2d() : RigidBodyDynamics::Math::Matrix2d() {}
10
11#ifdef BIORBD_USE_CASADI_MATH
12
13utils::Matrix2d::Matrix2d(const RBDLCasadiMath::MX_Xd_static<2, 2>& v)
14 : RigidBodyDynamics::Math::Matrix2d(v) {}
15
16utils::Matrix2d::Matrix2d(const RBDLCasadiMath::MX_Xd_SubMatrix& m)
17 : RigidBodyDynamics::Math::Matrix2d(m) {}
18
19void utils::Matrix2d::operator=(
20 const RBDLCasadiMath::MX_Xd_static<2, 2>& other) {
21 this->MX_Xd_static<2, 2>::operator=(other);
22}
23
24void utils::Matrix2d::operator=(const RBDLCasadiMath::MX_Xd_SubMatrix& other) {
25 this->MX_Xd_static<2, 2>::operator=(other);
26}
27
28#endif
A wrapper for the Eigen::MatrixXd.
Definition Matrix2d.h:21
Matrix2d()
Construct matrix.
Definition Matrix2d.cpp:9