Biorbd
Matrix.cpp
1 #define BIORBD_API_EXPORTS
2 #include "Utils/Matrix.h"
3 
4 #include "Utils/Vector.h"
5 
7  RigidBodyDynamics::Math::MatrixNd()
8 {
9 
10 }
11 
12 
13 #ifdef BIORBD_USE_CASADI_MATH
14 
16  const biorbd::utils::Matrix& v) :
17  RigidBodyDynamics::Math::MatrixNd (v)
18 {
19 
20 }
21 
23  const RigidBodyDynamics::Math::MatrixNd &v) :
24  RigidBodyDynamics::Math::MatrixNd (v)
25 {
26 
27 }
28 
30  const RBDLCasadiMath::MX_Xd_SubMatrix &m) :
31  RigidBodyDynamics::Math::VectorNd (m)
32 {
33 
34 }
35 
36 void biorbd::utils::Matrix::operator=(
37  const biorbd::utils::Matrix &other)
38 {
39  this->MX_Xd_dynamic::operator=(other);
40 }
41 
42 void biorbd::utils::Matrix::operator=(
43  const RBDLCasadiMath::MX_Xd_SubMatrix& other)
44 {
45  this->MX_Xd_dynamic::operator=(other);
46 }
47 
48 #endif
49 
50 
52  unsigned int nbRows,
53  unsigned int nbCols) :
54  RigidBodyDynamics::Math::MatrixNd(nbRows, nbCols)
55 {
56 
57 }
biorbd::utils::Matrix
A wrapper for the Eigen::MatrixXd.
Definition: Matrix.h:21
biorbd::utils::Matrix::Matrix
Matrix()
Construct matrix.
Definition: Matrix.cpp:6