#include <PermutationMatrix.h>
Public Types | |
typedef internal::traits< Map < PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >::Index | Index |
typedef internal::traits< Map < PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >::StorageKind | StorageKind |
Public Member Functions | |
void | addTo (Dest &dst) const |
void | applyThisOnTheLeft (Dest &dst) const |
void | applyThisOnTheRight (Dest &dst) const |
Map< PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & | applyTranspositionOnTheLeft (Index i, Index j) |
Map< PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & | applyTranspositionOnTheRight (Index i, Index j) |
Index | cols () const |
Map< PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & | const_cast_derived () const |
const Map< PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & | const_derived () const |
Map< PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & | derived () |
const Map< PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & | derived () const |
void | evalTo (Dest &dst) const |
const IndicesType & | indices () const |
IndicesType & | indices () |
Transpose< PermutationBase > | inverse () const |
Map (const Index *indices) | |
Map (const Index *indices, Index size) | |
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
template<typename Other > | |
Map & | operator= (const PermutationBase< Other > &other) |
template<typename Other > | |
Map & | operator= (const TranspositionsBase< Other > &tr) |
void | resize (Index size) |
Index | rows () const |
void | setIdentity () |
void | setIdentity (Index size) |
Index | size () const |
void | subTo (Dest &dst) const |
DenseMatrixType | toDenseMatrix () const |
Transpose< PermutationBase > | transpose () const |
Protected Attributes | |
IndicesType | m_indices |
Friends | |
PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other, const PermutationBase &perm) |
typedef internal::traits<Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >::Index Index [inherited] |
typedef internal::traits<Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >::StorageKind StorageKind [inherited] |
void addTo | ( | Dest & | dst | ) | const [inline, inherited] |
void applyThisOnTheLeft | ( | Dest & | dst | ) | const [inline, inherited] |
void applyThisOnTheRight | ( | Dest & | dst | ) | const [inline, inherited] |
Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & applyTranspositionOnTheLeft | ( | Index | i, |
Index | j | ||
) | [inline, inherited] |
Multiplies *this by the transposition on the left.
Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & applyTranspositionOnTheRight | ( | Index | i, |
Index | j | ||
) | [inline, inherited] |
Multiplies *this by the transposition on the right.
This is a fast operation, it only consists in swapping two indices.
Reimplemented from EigenBase< Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >.
Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & const_cast_derived | ( | ) | const [inline, inherited] |
const Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & const_derived | ( | ) | const [inline, inherited] |
Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & derived | ( | ) | [inline, inherited] |
const Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > & derived | ( | ) | const [inline, inherited] |
void evalTo | ( | Dest & | dst | ) | const [inline, inherited] |
const IndicesType& indices | ( | ) | const [inline] |
const version of indices().
Reimplemented from PermutationBase< Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >.
IndicesType& indices | ( | ) | [inline] |
Reimplemented from PermutationBase< Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >.
Transpose<PermutationBase> inverse | ( | ) | const [inline, inherited] |
PlainPermutationType operator* | ( | const PermutationBase< Other > & | other | ) | const [inline, inherited] |
PlainPermutationType operator* | ( | const Transpose< PermutationBase< Other > > & | other | ) | const [inline, inherited] |
Map& operator= | ( | const PermutationBase< Other > & | other | ) | [inline] |
Copies the other permutation into *this
References EigenBase< Derived >::derived().
Map& operator= | ( | const TranspositionsBase< Other > & | tr | ) | [inline] |
Assignment from the Transpositions tr
References TranspositionsBase< Derived >::derived().
Reimplemented from EigenBase< Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >.
void setIdentity | ( | ) | [inline, inherited] |
Sets *this to be the identity permutation matrix
void setIdentity | ( | Index | size | ) | [inline, inherited] |
Sets *this to be the identity permutation matrix of given size.
Reimplemented from EigenBase< Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > >.
void subTo | ( | Dest & | dst | ) | const [inline, inherited] |
DenseMatrixType toDenseMatrix | ( | ) | const [inline, inherited] |
Transpose<PermutationBase> transpose | ( | ) | const [inline, inherited] |
PlainPermutationType operator* | ( | const Transpose< PermutationBase< Other > > & | other, |
const PermutationBase< Map< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, _PacketAccess > > & | perm | ||
) | [friend, inherited] |
IndicesType m_indices [protected] |