Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess > Class Template Reference

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

#include <Block.h>

+ Inheritance diagram for 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() [1/3]

template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
Block ( XprType & xpr,
Index i )
inline

Column or Row constructor

◆ Block() [2/3]

template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
Block ( XprType & xpr,
Index startRow,
Index startCol )
inline

Fixed-size constructor

◆ Block() [3/3]

template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
Block ( XprType & xpr,
Index startRow,
Index startCol,
Index blockRows,
Index blockCols )
inline

Dynamic-size constructor

Member Function Documentation

◆ data()

template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
const Scalar * data ( ) const
inline
See also
MapBase::data()

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