Public Member Functions | List of all members
Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess > Class Template Reference

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

#include <Block.h>

Inherits type< Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess > >.

Public Member Functions

 Block (XprType &xpr, Index i)
 
 Block (XprType &xpr, Index startRow, Index startCol)
 
 Block (XprType &xpr, Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const Scalar * data () const
 

Detailed Description

template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
class Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >

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

Constructor & Destructor Documentation

Block ( XprType &  xpr,
Index  i 
)
inline

Column or Row constructor

Block ( XprType &  xpr,
Index  startRow,
Index  startCol 
)
inline

Fixed-size constructor

References Eigen::Dynamic.

Block ( XprType &  xpr,
Index  startRow,
Index  startCol,
Index  blockRows,
Index  blockCols 
)
inline

Dynamic-size constructor

References Eigen::Dynamic.

Member Function Documentation

const Scalar* data ( ) const
inline
See Also
MapBase::data()

The documentation for this class was generated from the following file: