All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Eigen::SubMatrix< MatrixType, PermutationType, IsSub > Class Template Reference

#include <SubMatrix.hpp>

Inheritance diagram for Eigen::SubMatrix< MatrixType, PermutationType, IsSub >:
[legend]
Collaboration diagram for Eigen::SubMatrix< MatrixType, PermutationType, IsSub >:
[legend]

Public Types

typedef MatrixBase< SubMatrix
< MatrixType, PermutationType,
IsSub > > 
Base
 
typedef
ei_choose_container_impl
< MatrixType, PermutationType >
::type 
MemoryBase
 
typedef ei_choose_row_impl
< MatrixType, PermutationType,
IsSub >::type 
RowBase
 
typedef ei_choose_col_impl
< MatrixType, PermutationType,
IsSub >::type 
ColBase
 
typedef RowBase::RowIndices RowIndices
 
typedef ColBase::ColIndices ColIndices
 
typedef Matrix< typename
MatrixType::Index, Dynamic, 1 > 
Indices
 
typedef
ei_choose_assert_selection
< PermutationType > 
assert_index
 
- Public Types inherited from Eigen::RowSelectionImpl< MatrixType, IsSub >
typedef MatrixType::Index Index
 
typedef Matrix< Index, Dynamic, 1 > RowIndices
 
- Public Types inherited from Eigen::ColSelectionImpl< MatrixType, IsSub >
typedef MatrixType::Index Index
 
typedef Matrix< Index, Dynamic, 1 > ColIndices
 

Public Member Functions

 SubMatrix (MatrixType &matrix)
 
 SubMatrix (MatrixType &matrix, bool defaultPermutation)
 
 SubMatrix (MatrixType &matrix, bool defaultPermutationRows, bool defaultPermutationCols)
 
 SubMatrix (MatrixType &matrix, const Indices &indices)
 
 SubMatrix (MatrixType &matrix, bool defaultPermutationRows, const ColIndices &indicesCols)
 
 SubMatrix (MatrixType &matrix, const Indices &indicesRows, bool defaultPermutationCols)
 
 SubMatrix (MatrixType &matrix, const Indices &indicesRows, const Indices &indicesCols)
 
 SubMatrix (MatrixType &matrix, Indices *indices)
 
 SubMatrix (MatrixType &matrix, bool defaultPermutationRows, const Indices *indicesCols)
 
 SubMatrix (MatrixType &matrix, const Indices *indicesRows, bool defaultPermutationCols)
 
 SubMatrix (MatrixType &matrix, Indices *indicesRows, Indices *indicesCols)
 
Scalar & coeffRef (Index row, Index col) const
 
Scalar & coeffRef (Index index) const
 
const CoeffReturnType coeff (Index row, Index col) const
 
const CoeffReturnType coeff (Index index) const
 
- Public Member Functions inherited from Eigen::MatrixContainer< MatrixType >
 MatrixContainer (const MatrixType &m)
 
- Public Member Functions inherited from Eigen::RowSelectionImpl< MatrixType, IsSub >
 RowSelectionImpl (const MatrixType &m, bool defaultPermutation=false)
 
 RowSelectionImpl (const MatrixType &m, const RowIndices indices)
 
 RowSelectionImpl (const MatrixType &m, RowIndices *indices)
 
 RowSelectionImpl (const RowSelectionImpl &clone)
 
Index rowIndex (Index i) const
 
Index rows () const
 
const RowIndicesgetRowIndices () const
 
RowIndicesgetRowIndices ()
 
const IndexgetRowIndices (Index i) const
 
IndexgetRowIndices (Index i)
 
bool rowIndicesOwned () const
 
void setRowIndices (const RowIndices &indices)
 
void setRowRange (Index start, Index end)
 
void permuteRows (Index i, Index j)
 
void pushRowFront (Index index)
 
void pushRowBack (Index index)
 
Index removeRow (Index index)
 
Index popRowBack ()
 
Index popRowFront ()
 
- Public Member Functions inherited from Eigen::ColSelectionImpl< MatrixType, IsSub >
 ColSelectionImpl (const MatrixType &m, bool defaultPermutation)
 
 ColSelectionImpl (const MatrixType &m, const ColIndices &indices)
 
 ColSelectionImpl (const MatrixType &m, ColIndices *indices)
 
 ColSelectionImpl (const ColSelectionImpl &clone)
 
Index colIndex (Index i) const
 
Index cols () const
 
const ColIndicesgetColIndices () const
 
const IndexgetColIndices (Index i) const
 
ColIndicesgetColIndices ()
 
IndexgetColIndices (Index i)
 
bool colIndicesOwned () const
 
void setColIndices (const ColIndices &indices)
 
void setColRange (Index start, Index end)
 
void permuteCols (Index i, Index j)
 
void pushColFront (Index index)
 
void pushColBack (Index index)
 
Index removeCol (Index index)
 
Index popColBack ()
 
Index popColFront ()
 

Additional Inherited Members

- Public Attributes inherited from Eigen::MatrixContainer< MatrixType >
const MatrixType::Nested m_matrix
 

Member Typedef Documentation

template<typename MatrixType, int PermutationType, bool IsSub>
typedef ei_choose_assert_selection<PermutationType> Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::assert_index
template<typename MatrixType, int PermutationType, bool IsSub>
typedef MatrixBase<SubMatrix<MatrixType, PermutationType, IsSub> > Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::Base
template<typename MatrixType, int PermutationType, bool IsSub>
typedef ei_choose_col_impl<MatrixType, PermutationType, IsSub>::type Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::ColBase
template<typename MatrixType, int PermutationType, bool IsSub>
typedef ColBase::ColIndices Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::ColIndices
template<typename MatrixType, int PermutationType, bool IsSub>
typedef Matrix<typename MatrixType::Index, Dynamic, 1> Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::Indices
template<typename MatrixType, int PermutationType, bool IsSub>
typedef ei_choose_container_impl<MatrixType, PermutationType>::type Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::MemoryBase
template<typename MatrixType, int PermutationType, bool IsSub>
typedef ei_choose_row_impl<MatrixType, PermutationType, IsSub>::type Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::RowBase
template<typename MatrixType, int PermutationType, bool IsSub>
typedef RowBase::RowIndices Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::RowIndices

Constructor & Destructor Documentation

template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
bool  defaultPermutation 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
bool  defaultPermutationRows,
bool  defaultPermutationCols 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
const Indices indices 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
bool  defaultPermutationRows,
const ColIndices indicesCols 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
const Indices indicesRows,
bool  defaultPermutationCols 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
const Indices indicesRows,
const Indices indicesCols 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
Indices indices 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
bool  defaultPermutationRows,
const Indices indicesCols 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
const Indices indicesRows,
bool  defaultPermutationCols 
)
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::SubMatrix ( MatrixType &  matrix,
Indices indicesRows,
Indices indicesCols 
)
inline

Member Function Documentation

template<typename MatrixType, int PermutationType, bool IsSub>
const CoeffReturnType Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::coeff ( Index  row,
Index  col 
) const
inline
template<typename MatrixType, int PermutationType, bool IsSub>
const CoeffReturnType Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::coeff ( Index  index) const
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Scalar& Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::coeffRef ( Index  row,
Index  col 
) const
inline
template<typename MatrixType, int PermutationType, bool IsSub>
Scalar& Eigen::SubMatrix< MatrixType, PermutationType, IsSub >::coeffRef ( Index  index) const
inline