Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes
Eigen::Block Class Reference

Detailed Description

Expression of a fixed-size or dynamic-size block.

Parameters:
XprTypethe type of the expression in which we are taking a block
BlockRowsthe number of rows of the block we are taking at compile time (optional)
BlockColsthe number of columns of the block we are taking at compile time (optional)
_DirectAccessStatus
Inheritance diagram for Eigen::Block:
Inheritance graph
[legend]

List of all members.

Public Types

typedef
internal::dense_xpr_base
< Block >::type 
Base

Public Member Functions

 Block (XprType &xpr, Index i)
 Column or Row constructor.
 Block (XprType &xpr, Index startRow, Index startCol)
 Fixed-size constructor.
 Block (XprType &xpr, Index startRow, Index startCol, Index blockRows, Index blockCols)
 Dynamic-size constructor.
Index rows () const
Index cols () const
Scalar & coeffRef (Index row, Index col)
const Scalar & coeffRef (Index row, Index col) const
EIGEN_STRONG_INLINE const
CoeffReturnType 
coeff (Index row, Index col) const
Scalar & coeffRef (Index index)
const Scalar & coeffRef (Index index) const
const CoeffReturnType coeff (Index index) const
template<int LoadMode>
PacketScalar packet (Index row, Index col) const
template<int LoadMode>
void writePacket (Index row, Index col, const PacketScalar &x)
template<int LoadMode>
PacketScalar packet (Index index) const
template<int LoadMode>
void writePacket (Index index, const PacketScalar &x)
const Scalar * data () const
Index innerStride () const
Index outerStride () const
const internal::remove_all
< typename XprType::Nested >
::type & 
nestedExpression () const
Index startRow () const
Index startCol () const

Protected Attributes

const XprType::Nested m_xpr
const
internal::variable_if_dynamic
< Index,
XprType::RowsAtCompileTime==1?0:Dynamic
m_startRow
const
internal::variable_if_dynamic
< Index,
XprType::ColsAtCompileTime==1?0:Dynamic
m_startCol
const
internal::variable_if_dynamic
< Index, RowsAtCompileTime > 
m_blockRows
const
internal::variable_if_dynamic
< Index, ColsAtCompileTime > 
m_blockCols

Member Typedef Documentation

Reimplemented in Eigen::VectorBlock.

Definition at line 116 of file Core.


Constructor & Destructor Documentation

Eigen::Block::Block ( XprType &  xpr,
Index  i 
) [inline]

Column or Row constructor.

Definition at line 123 of file Core.

Eigen::Block::Block ( XprType &  xpr,
Index  startRow,
Index  startCol 
) [inline]

Fixed-size constructor.

Definition at line 141 of file Core.

Eigen::Block::Block ( XprType &  xpr,
Index  startRow,
Index  startCol,
Index  blockRows,
Index  blockCols 
) [inline]

Dynamic-size constructor.

Definition at line 152 of file Core.


Member Function Documentation

EIGEN_STRONG_INLINE const CoeffReturnType Eigen::Block::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 182 of file Core.

const CoeffReturnType Eigen::Block::coeff ( Index  index) const [inline]

Definition at line 202 of file Core.

Scalar& Eigen::Block::coeffRef ( Index  row,
Index  col 
) [inline]

Definition at line 169 of file Core.

const Scalar& Eigen::Block::coeffRef ( Index  row,
Index  col 
) const [inline]

Definition at line 176 of file Core.

Scalar& Eigen::Block::coeffRef ( Index  index) [inline]

Definition at line 187 of file Core.

const Scalar& Eigen::Block::coeffRef ( Index  index) const [inline]

Definition at line 195 of file Core.

Index Eigen::Block::cols ( void  ) const [inline]

Definition at line 167 of file Core.

const Scalar* Eigen::Block::data ( ) const [inline]
See also:
MapBase::data()
Index Eigen::Block::innerStride ( ) const [inline]
const internal::remove_all<typename XprType::Nested>::type& Eigen::Block::nestedExpression ( ) const [inline]

Definition at line 246 of file Core.

Index Eigen::Block::outerStride ( ) const [inline]
template<int LoadMode>
PacketScalar Eigen::Block::packet ( Index  row,
Index  col 
) const [inline]

Definition at line 210 of file Core.

template<int LoadMode>
PacketScalar Eigen::Block::packet ( Index  index) const [inline]

Definition at line 224 of file Core.

Index Eigen::Block::rows ( void  ) const [inline]

Definition at line 166 of file Core.

Index Eigen::Block::startCol ( ) const [inline]

Definition at line 256 of file Core.

Index Eigen::Block::startRow ( ) const [inline]

Definition at line 251 of file Core.

template<int LoadMode>
void Eigen::Block::writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
) [inline]

Definition at line 217 of file Core.

template<int LoadMode>
void Eigen::Block::writePacket ( Index  index,
const PacketScalar &  x 
) [inline]

Definition at line 232 of file Core.


Member Data Documentation

const internal::variable_if_dynamic<Index, ColsAtCompileTime> Eigen::Block::m_blockCols [protected]

Definition at line 267 of file Core.

const internal::variable_if_dynamic<Index, RowsAtCompileTime> Eigen::Block::m_blockRows [protected]

Definition at line 266 of file Core.

const internal::variable_if_dynamic<Index, XprType::ColsAtCompileTime == 1 ? 0 : Dynamic> Eigen::Block::m_startCol [protected]

Definition at line 265 of file Core.

const internal::variable_if_dynamic<Index, XprType::RowsAtCompileTime == 1 ? 0 : Dynamic> Eigen::Block::m_startRow [protected]

Definition at line 264 of file Core.

const XprType::Nested Eigen::Block::m_xpr [protected]

Definition at line 263 of file Core.




Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011