Class to view a vector of integers as a permutation matrix. More...
#include <PermutationMatrix.h>
Public Types | |
typedef Traits::IndicesType | IndicesType |
Public Types inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
enum | |
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
typedef Traits::Index | Index |
typedef Traits::IndicesType | IndicesType |
typedef PermutationMatrix< IndicesType::SizeAtCompileTime, IndicesType::MaxSizeAtCompileTime, Index > | PlainPermutationType |
typedef Traits::Scalar | Scalar |
Public Types inherited from Eigen::EigenBase< Derived > | |
typedef internal::traits< Derived >::Index | Index |
typedef internal::traits< Derived >::StorageKind | StorageKind |
Public Member Functions | |
const internal::remove_all< typename IndicesType::Nested >::type & | indices () const |
PermutationWrapper (const IndicesType &a_indices) | |
Public Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
PermutationWrapper< _IndicesType > & | applyTranspositionOnTheLeft (Index i, Index j) |
PermutationWrapper< _IndicesType > & | applyTranspositionOnTheRight (Index i, Index j) |
Index | cols () const |
void | evalTo (MatrixBase< DenseDerived > &other) const |
const IndicesType & | indices () const |
IndicesType & | indices () |
Transpose< PermutationBase > | inverse () const |
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
PermutationWrapper< _IndicesType > & | operator= (const PermutationBase< OtherDerived > &other) |
PermutationWrapper< _IndicesType > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
PermutationWrapper< _IndicesType > & | operator= (const PermutationBase &other) |
void | resize (Index newSize) |
Index | rows () const |
void | setIdentity () |
void | setIdentity (Index newSize) |
Index | size () const |
DenseMatrixType | toDenseMatrix () const |
Transpose< PermutationBase > | transpose () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
template<typename Dest > | |
void | addTo (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheLeft (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheRight (Dest &dst) const |
Index | cols () const |
Derived & | const_cast_derived () const |
const Derived & | const_derived () const |
Derived & | derived () |
const Derived & | derived () const |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
Index | rows () const |
Index | size () const |
template<typename Dest > | |
void | subTo (Dest &dst) const |
Protected Attributes | |
IndicesType::Nested | m_indices |
Private Types | |
typedef PermutationBase< PermutationWrapper > | Base |
typedef internal::traits< PermutationWrapper > | Traits |
Additional Inherited Members | |
Protected Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
void | assignProduct (const Lhs &lhs, const Rhs &rhs) |
void | assignTranspose (const PermutationBase< OtherDerived > &other) |
Class to view a vector of integers as a permutation matrix.
_IndicesType | the type of the vector of integer (can be any compatible expression) |
This class allows to view any vector expression of integers as a permutation matrix.
Definition at line 483 of file PermutationMatrix.h.
|
private |
Definition at line 485 of file PermutationMatrix.h.
typedef Traits::IndicesType Eigen::PermutationWrapper< _IndicesType >::IndicesType |
Definition at line 490 of file PermutationMatrix.h.
|
private |
Definition at line 486 of file PermutationMatrix.h.
|
inline |
Definition at line 493 of file PermutationMatrix.h.
|
inline |
const version of indices().
Definition at line 499 of file PermutationMatrix.h.
|
protected |
Definition at line 503 of file PermutationMatrix.h.