Expression of a fixed-size or dynamic-size block. More...
#include <Block.h>
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) | |
EIGEN_STRONG_INLINE 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 internal::remove_all < typename XprType::Nested > ::type & | nestedExpression () 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 |
Definition at line 97 of file Core/Block.h.
typedef internal::dense_xpr_base<Block>::type Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::Base |
Reimplemented in Eigen::VectorBlock< VectorType, Size >.
Definition at line 102 of file Core/Block.h.
Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::Block | ( | XprType & | xpr, |
Index | i | ||
) | [inline] |
Column or Row constructor
Definition at line 109 of file Core/Block.h.
Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::Block | ( | XprType & | xpr, |
Index | startRow, | ||
Index | startCol | ||
) | [inline] |
Fixed-size constructor
Definition at line 127 of file Core/Block.h.
Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::Block | ( | XprType & | xpr, |
Index | startRow, | ||
Index | startCol, | ||
Index | blockRows, | ||
Index | blockCols | ||
) | [inline] |
Dynamic-size constructor
Definition at line 138 of file Core/Block.h.
EIGEN_STRONG_INLINE const CoeffReturnType Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 168 of file Core/Block.h.
const CoeffReturnType Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::coeff | ( | Index | index | ) | const [inline] |
Definition at line 188 of file Core/Block.h.
Scalar& Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 155 of file Core/Block.h.
const Scalar& Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::coeffRef | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 162 of file Core/Block.h.
Scalar& Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::coeffRef | ( | Index | index | ) | [inline] |
Definition at line 173 of file Core/Block.h.
const Scalar& Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::coeffRef | ( | Index | index | ) | const [inline] |
Definition at line 181 of file Core/Block.h.
Index Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::cols | ( | ) | const [inline] |
Definition at line 153 of file Core/Block.h.
const internal::remove_all<typename XprType::Nested>::type& Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::nestedExpression | ( | ) | const [inline] |
Definition at line 232 of file Core/Block.h.
PacketScalar Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 196 of file Core/Block.h.
PacketScalar Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::packet | ( | Index | index | ) | const [inline] |
Definition at line 210 of file Core/Block.h.
Index Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::rows | ( | ) | const [inline] |
Definition at line 152 of file Core/Block.h.
Index Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::startCol | ( | ) | const [inline] |
Definition at line 242 of file Core/Block.h.
Index Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::startRow | ( | ) | const [inline] |
Definition at line 237 of file Core/Block.h.
void Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
Definition at line 203 of file Core/Block.h.
void Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
Definition at line 218 of file Core/Block.h.
const internal::variable_if_dynamic<Index, ColsAtCompileTime> Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::m_blockCols [protected] |
Definition at line 253 of file Core/Block.h.
const internal::variable_if_dynamic<Index, RowsAtCompileTime> Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::m_blockRows [protected] |
Definition at line 252 of file Core/Block.h.
const internal::variable_if_dynamic<Index, XprType::ColsAtCompileTime == 1 ? 0 : Dynamic> Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::m_startCol [protected] |
Definition at line 251 of file Core/Block.h.
const internal::variable_if_dynamic<Index, XprType::RowsAtCompileTime == 1 ? 0 : Dynamic> Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::m_startRow [protected] |
Definition at line 250 of file Core/Block.h.
const XprType::Nested Eigen::Block< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::m_xpr [protected] |
Definition at line 249 of file Core/Block.h.