Expression of a fixed-size or dynamic-size block. More...
Inherits internal::dense_xpr_base::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 |
Expression of a fixed-size or dynamic-size block.
XprType | the type of the expression in which we are taking a block |
BlockRows | the number of rows of the block we are taking at compile time (optional) |
BlockCols | the number of columns of the block we are taking at compile time (optional) |
_DirectAccessStatus |
Block | ( | XprType & | xpr, |
Index | i | ||
) | [inline] |
Column or Row constructor
Block | ( | XprType & | xpr, |
Index | startRow, | ||
Index | startCol | ||
) | [inline] |
Fixed-size constructor
Block | ( | XprType & | xpr, |
Index | startRow, | ||
Index | startCol, | ||
Index | blockRows, | ||
Index | blockCols | ||
) | [inline] |
Dynamic-size constructor
const Scalar* data | ( | ) | const [inline] |