RML
1.0
Robotics Mathematical Library
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
MatrixBaseAddons.h
Go to the documentation of this file.
1
8
//#ifndef INCLUDE_RML_MATRIXBASEADDONS_H_
9
//#define INCLUDE_RML_MATRIXBASEADDONS_H_
10
11
inline
Scalar
at
(uint i, uint j)
const
{
return
this->operator()(i,j); }
12
inline
Scalar&
at
(uint i, uint j) {
return
this->operator()(i,j); }
13
inline
Scalar
at
(uint i)
const
{
return
this->operator[](i); }
14
inline
Scalar&
at
(uint i) {
return
this->operator[](i); }
15
16
17
// inline Matrix<Scalar, 6, 6> GetRigidBodyMatrix() const
18
// {
19
// eigen_assert(derived().rows() == 3 && derived().cols() == 1);
20
// Matrix<Scalar, 3, 3> t_hat;
21
// t_hat << 0, -derived()(2), derived()(1),
22
// derived()(2), 0, -derived()(0),
23
// -derived()(1), derived()(0), 0;
24
// Matrix<Scalar, 6, 6> S;
25
// S.block(0,0,3,3) = S.block(3,3,3,3) = Eigen::Matrix<Scalar, 3, 3>::Identity();
26
// S.block(0,3,3,3) = -1.0 * t_hat;
27
// S.block(3,0,3,3) = Eigen::Matrix<Scalar, 3, 3>::Zero();
28
// return S;
29
// }
30
31
//#endif /* INCLUDE_RML_MATRIXBASEADDONS_H_ */
32
33
34
35
//template<typename MatT>
36
//inline void RightJuxtapose(const MatT inmat){
37
// PlainObject res = derived();
38
// res.resize(res.rows() + inmat.rows(), res.cols() + inmat.cols());
39
// res.block(0, this->cols(), inmat.rows(), inmat.cols()) = inmat;
40
//
41
// //return res;
42
//}
at
Scalar at(uint i, uint j) const
Definition
MatrixBaseAddons.h:11
include
rml
MatrixBaseAddons.h
Generated by
1.9.8