Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Types | Public Member Functions | Protected Attributes
Eigen::internal::BlockImpl_dense< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess > Class Template Reference
+ Inheritance diagram for Eigen::internal::BlockImpl_dense< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >:
+ Collaboration diagram for Eigen::internal::BlockImpl_dense< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >:

Public Types

typedef internal::dense_xpr_base< BlockType >::type Base
 

Public Member Functions

 BlockImpl_dense (XprType &xpr, Index i)
 
 BlockImpl_dense (XprType &xpr, Index a_startRow, Index a_startCol)
 
 BlockImpl_dense (XprType &xpr, Index a_startRow, Index a_startCol, Index blockRows, Index blockCols)
 
Index rows () const
 
Index cols () const
 
Scalar & coeffRef (Index rowId, Index colId)
 
const Scalar & coeffRef (Index rowId, Index colId) const
 
EIGEN_STRONG_INLINE const CoeffReturnType coeff (Index rowId, Index colId) const
 
Scalar & coeffRef (Index index)
 
const Scalar & coeffRef (Index index) const
 
const CoeffReturnType coeff (Index index) const
 
template<int LoadMode>
PacketScalar packet (Index rowId, Index colId) const
 
template<int LoadMode>
void writePacket (Index rowId, Index colId, const PacketScalar &val)
 
template<int LoadMode>
PacketScalar packet (Index index) const
 
template<int LoadMode>
void writePacket (Index index, const PacketScalar &val)
 
const internal::remove_all< typename XprType::Nested >::type & nestedExpression () const
 
Index startRow () const
 
Index startCol () const
 

Protected Attributes

const XprType::Nested m_xpr
 
const internal::variable_if_dynamic< Index, XprType::RowsAtCompileTime==1?0:Dynamic > m_startRow
 
const internal::variable_if_dynamic< Index, XprType::ColsAtCompileTime==1?0:Dynamic > m_startCol
 
const internal::variable_if_dynamic< Index, RowsAtCompileTime > m_blockRows
 
const internal::variable_if_dynamic< Index, ColsAtCompileTime > m_blockCols
 

Detailed Description

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

Definition at line 96 of file Block.h.

Constructor & Destructor Documentation

template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
Eigen::internal::BlockImpl_dense< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::BlockImpl_dense ( XprType &  xpr,
Index  i 
)
inline

Column or Row constructor

Definition at line 179 of file Block.h.

180  : m_xpr(xpr),
181  // It is a row if and only if BlockRows==1 and BlockCols==XprType::ColsAtCompileTime,
182  // and it is a column if and only if BlockRows==XprType::RowsAtCompileTime and BlockCols==1,
183  // all other cases are invalid.
184  // The case a 1x1 matrix seems ambiguous, but the result is the same anyway.
185  m_startRow( (BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) ? i : 0),
186  m_startCol( (BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) ? i : 0),
187  m_blockRows(BlockRows==1 ? 1 : xpr.rows()),
188  m_blockCols(BlockCols==1 ? 1 : xpr.cols())
189  {}
template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
Eigen::internal::BlockImpl_dense< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::BlockImpl_dense ( XprType &  xpr,
Index  a_startRow,
Index  a_startCol 
)
inline

Fixed-size constructor

Definition at line 193 of file Block.h.

194  : m_xpr(xpr), m_startRow(a_startRow), m_startCol(a_startCol),
195  m_blockRows(BlockRows), m_blockCols(BlockCols)
196  {}
template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel, bool HasDirectAccess>
Eigen::internal::BlockImpl_dense< XprType, BlockRows, BlockCols, InnerPanel, HasDirectAccess >::BlockImpl_dense ( XprType &  xpr,
Index  a_startRow,
Index  a_startCol,
Index  blockRows,
Index  blockCols 
)
inline

Dynamic-size constructor

Definition at line 200 of file Block.h.

203  : m_xpr(xpr), m_startRow(a_startRow), m_startCol(a_startCol),
204  m_blockRows(blockRows), m_blockCols(blockCols)
205  {}

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