Expression of a non-sequential sub-matrix defined by arbitrary sequences of row and column indices. More...
#include <IndexedView.h>
Public Types | |
typedef IndexedViewImpl< XprType, RowIndices, ColIndices, typename internal::traits< XprType >::StorageKind >::Base | Base |
typedef internal::ref_selector< XprType >::non_const_type | MatrixTypeNested |
typedef internal::remove_all< XprType >::type | NestedExpression |
Public Types inherited from Eigen::IndexedViewImpl< XprType, RowIndices, ColIndices, internal::traits< XprType >::StorageKind > | |
typedef internal::generic_xpr_base< IndexedView< XprType, RowIndices, ColIndices > >::type | Base |
Public Member Functions | |
const ColIndices & | colIndices () const |
Index | cols () const |
template<typename T0 , typename T1 > | |
IndexedView (XprType &xpr, const T0 &rowIndices, const T1 &colIndices) | |
const internal::remove_all< XprType >::type & | nestedExpression () const |
internal::remove_reference< XprType >::type & | nestedExpression () |
const RowIndices & | rowIndices () const |
Index | rows () const |
Protected Attributes | |
ColIndices | m_colIndices |
RowIndices | m_rowIndices |
MatrixTypeNested | m_xpr |
Expression of a non-sequential sub-matrix defined by arbitrary sequences of row and column indices.
XprType | the type of the expression in which we are taking the intersections of sub-rows and sub-columns |
RowIndices | the type of the object defining the sequence of row indices |
ColIndices | the type of the object defining the sequence of column indices |
This class represents an expression of a sub-matrix (or sub-vector) defined as the intersection of sub-sets of rows and columns, that are themself defined by generic sequences of row indices and column indices . Let be the nested matrix, then the resulting matrix has m
rows and n
columns, and its entries are given by: .
The RowIndices
and ColIndices
types must be compatible with the following API:
Typical supported types thus include:
In typical usages of Eigen, this class should never be used directly. It is the return type of DenseBase::operator()(const RowIndices&, const ColIndices&).
Definition at line 109 of file IndexedView.h.
typedef IndexedViewImpl<XprType, RowIndices, ColIndices, typename internal::traits<XprType>::StorageKind>::Base Eigen::IndexedView< XprType, RowIndices, ColIndices >::Base |
Definition at line 112 of file IndexedView.h.
typedef internal::ref_selector<XprType>::non_const_type Eigen::IndexedView< XprType, RowIndices, ColIndices >::MatrixTypeNested |
Definition at line 116 of file IndexedView.h.
typedef internal::remove_all<XprType>::type Eigen::IndexedView< XprType, RowIndices, ColIndices >::NestedExpression |
Definition at line 117 of file IndexedView.h.
|
inline |
Definition at line 120 of file IndexedView.h.
|
inline |
Definition at line 142 of file IndexedView.h.
|
inline |
Definition at line 128 of file IndexedView.h.
|
inline |
Definition at line 132 of file IndexedView.h.
|
inline |
Definition at line 136 of file IndexedView.h.
|
inline |
Definition at line 139 of file IndexedView.h.
|
inline |
Definition at line 125 of file IndexedView.h.
|
protected |
Definition at line 147 of file IndexedView.h.
|
protected |
Definition at line 146 of file IndexedView.h.
|
protected |
Definition at line 145 of file IndexedView.h.