Go to the documentation of this file.
5 #ifndef __pinocchio_math_matrix_block_hpp__
6 #define __pinocchio_math_matrix_block_hpp__
18 typedef typename Mat::template FixedSegmentReturnType<NV>::Type
Type;
19 typedef typename Mat::template ConstFixedSegmentReturnType<NV>::Type
ConstType;
24 const Eigen::MatrixBase<D> & mat,
29 return mat.template segment<NV>(start);
34 Eigen::MatrixBase<D> & mat,
39 return mat.template segment<NV>(start);
45 typedef typename Mat::template NColsBlockXpr<NV>::Type
Type;
46 typedef typename Mat::template ConstNColsBlockXpr<NV>::Type
ConstType;
51 const Eigen::MatrixBase<D> & mat,
56 return mat.template middleCols<NV>(start);
61 Eigen::MatrixBase<D> & mat,
66 return mat.template middleCols<NV>(start);
72 typedef typename Mat::template NRowsBlockXpr<NV>::Type
Type;
73 typedef typename Mat::template ConstNRowsBlockXpr<NV>::Type
ConstType;
78 const Eigen::MatrixBase<D> & mat,
83 return mat.template middleRows<NV>(start);
88 Eigen::MatrixBase<D> & mat,
93 return mat.template middleRows<NV>(start);
99 typedef Eigen::Block<Mat, NV, NV>
Type;
100 typedef const Eigen::Block<const Mat, NV, NV>
ConstType;
105 const Eigen::MatrixBase<D> & mat,
113 return mat.template block<NV, NV>(row_id, col_id);
118 Eigen::MatrixBase<D> & mat,
126 return mat.template block<NV, NV>(row_id, col_id);
136 typedef typename Mat::SegmentReturnType
Type;
142 const Eigen::MatrixBase<D> & mat,
146 return mat.segment(start,
size);
151 Eigen::MatrixBase<D> & mat,
155 return mat.segment(start,
size);
161 typedef typename Mat::ColsBlockXpr
Type;
167 const Eigen::MatrixBase<D> & mat,
171 return mat.middleCols(start,
size);
176 Eigen::MatrixBase<D> & mat,
180 return mat.middleCols(start,
size);
186 typedef typename Mat::RowsBlockXpr
Type;
192 const Eigen::MatrixBase<D> & mat,
196 return mat.middleRows(start,
size);
201 Eigen::MatrixBase<D> & mat,
205 return mat.middleRows(start,
size);
211 typedef Eigen::Block<Mat>
Type;
217 const Eigen::MatrixBase<D> & mat,
223 return mat.block(row_id, col_id, row_size_block, col_size_block);
228 Eigen::MatrixBase<D> & mat,
234 return mat.block(row_id, col_id, row_size_block, col_size_block);
239 #endif // ifndef __pinocchio_math_matrix_block_hpp__
Mat::template ConstNColsBlockXpr< NV >::Type ConstType
static RowsReturn< D >::ConstType middleRows(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size)
Mat::ConstSegmentReturnType ConstType
Mat::ConstRowsBlockXpr ConstType
static ColsReturn< D >::ConstType middleCols(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size=NV)
static ColsReturn< D >::Type middleCols(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size)
static SegmentReturn< D >::ConstType segment(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size)
static BlockReturn< D >::Type block(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index row_id, typename Eigen::DenseBase< D >::Index col_id, typename Eigen::DenseBase< D >::Index row_size_block=NV, typename Eigen::DenseBase< D >::Index col_size_block=NV)
static ColsReturn< D >::ConstType middleCols(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size)
PINOCCHIO_COMPILER_DIAGNOSTIC_POP typedef std::size_t Index
const typedef Eigen::Block< const Mat, NV, NV > ConstType
Mat::SegmentReturnType Type
const typedef Eigen::Block< const Mat > ConstType
Mat::template NColsBlockXpr< NV >::Type Type
static RowsReturn< D >::ConstType middleRows(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size=NV)
static SegmentReturn< D >::ConstType segment(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size=NV)
Mat::template ConstNRowsBlockXpr< NV >::Type ConstType
static RowsReturn< D >::Type middleRows(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size=NV)
static BlockReturn< D >::Type block(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index row_id, typename Eigen::DenseBase< D >::Index col_id, typename Eigen::DenseBase< D >::Index row_size_block, typename Eigen::DenseBase< D >::Index col_size_block)
Eigen::Block< Mat, NV, NV > Type
static ColsReturn< D >::Type middleCols(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size=NV)
static BlockReturn< D >::ConstType block(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index row_id, typename Eigen::DenseBase< D >::Index col_id, typename Eigen::DenseBase< D >::Index row_size_block, typename Eigen::DenseBase< D >::Index col_size_block)
static SegmentReturn< D >::Type segment(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size)
static BlockReturn< D >::ConstType block(const Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index row_id, typename Eigen::DenseBase< D >::Index col_id, typename Eigen::DenseBase< D >::Index row_size_block=NV, typename Eigen::DenseBase< D >::Index col_size_block=NV)
Mat::ConstColsBlockXpr ConstType
static SegmentReturn< D >::Type segment(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size=NV)
Mat::template NRowsBlockXpr< NV >::Type Type
Mat::template FixedSegmentReturnType< NV >::Type Type
Mat::template ConstFixedSegmentReturnType< NV >::Type ConstType
Main pinocchio namespace.
static RowsReturn< D >::Type middleRows(Eigen::MatrixBase< D > &mat, typename Eigen::DenseBase< D >::Index start, typename Eigen::DenseBase< D >::Index size)
#define PINOCCHIO_UNUSED_VARIABLE(var)
Helper to declare that a parameter is unused.
pinocchio
Author(s):
autogenerated on Mon Dec 16 2024 03:41:03