Expression of a fixed-size or dynamic-size block. More...
Inherits type< Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess > >.
Public Types | |
| typedef internal::dense_xpr_base < Block >::type | Base |
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 CoeffReturnType | coeff (Index row, Index col) const |
| const CoeffReturnType | coeff (Index index) const |
| Scalar & | coeffRef (Index row, Index col) |
| const Scalar & | coeffRef (Index row, Index col) const |
| Scalar & | coeffRef (Index index) |
| const Scalar & | coeffRef (Index index) const |
| Index | cols () const |
| const Scalar * | data () const |
| Index | innerStride () const |
| const internal::remove_all < typename XprType::Nested > ::type & | nestedExpression () const |
| Index | outerStride () const |
| template<int LoadMode> | |
| PacketScalar | packet (Index row, Index col) const |
| template<int LoadMode> | |
| PacketScalar | packet (Index index) const |
| Index | rows () const |
| Index | startCol () const |
| Index | startRow () const |
| template<int LoadMode> | |
| void | writePacket (Index row, Index col, const PacketScalar &x) |
| template<int LoadMode> | |
| void | writePacket (Index index, const PacketScalar &x) |
Protected Attributes | |
| const internal::variable_if_dynamic < Index, ColsAtCompileTime > | m_blockCols |
| const internal::variable_if_dynamic < Index, RowsAtCompileTime > | m_blockRows |
| const internal::variable_if_dynamic < Index, XprType::ColsAtCompileTime==1?0:Dynamic > | m_startCol |
| const internal::variable_if_dynamic < Index, XprType::RowsAtCompileTime==1?0:Dynamic > | m_startRow |
| const XprType::Nested | m_xpr |
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 |
Dynamic-size constructor
| const CoeffReturnType coeff | ( | Index | index | ) | const [inline] |
| Index cols | ( | void | ) | const [inline] |
| const Scalar* data | ( | ) | const [inline] |
| Index innerStride | ( | ) | const [inline] |
| const internal::remove_all<typename XprType::Nested>::type& nestedExpression | ( | ) | const [inline] |
| Index outerStride | ( | ) | const [inline] |
| PacketScalar packet | ( | Index | index | ) | const [inline] |
| Index rows | ( | void | ) | const [inline] |
| Index startCol | ( | ) | const [inline] |
| Index startRow | ( | ) | const [inline] |
| void writePacket | ( | Index | index, |
| const PacketScalar & | x | ||
| ) | [inline] |
const internal::variable_if_dynamic<Index, ColsAtCompileTime> m_blockCols [protected] |
const internal::variable_if_dynamic<Index, RowsAtCompileTime> m_blockRows [protected] |
const internal::variable_if_dynamic<Index, XprType::ColsAtCompileTime == 1 ? 0 : Dynamic> m_startCol [protected] |
const internal::variable_if_dynamic<Index, XprType::RowsAtCompileTime == 1 ? 0 : Dynamic> m_startRow [protected] |
const XprType::Nested m_xpr [protected] |
1.7.5.1