Permutation matrix.
| SizeAtCompileTime | the number of rows/cols, or Dynamic |
| MaxSizeAtCompileTime | the maximum number of rows/cols, or Dynamic. This optional parameter defaults to SizeAtCompileTime. Most of the time, you should not have to specify it. |
| IndexType | the interger type of the indices |
This class represents a permutation matrix, internally stored as a vector of integers.

Public Types | |
| typedef internal::traits < PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::StorageKind | StorageKind |
| typedef internal::traits < PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::Index | Index |
Public Member Functions | |
| PermutationMatrix () | |
| PermutationMatrix (int size) | |
| Constructs an uninitialized permutation matrix of given size. | |
| template<typename OtherDerived > | |
| PermutationMatrix (const PermutationBase< OtherDerived > &other) | |
| Copy constructor. | |
| template<typename Other > | |
| PermutationMatrix (const MatrixBase< Other > &indices) | |
| Generic constructor from expression of the indices. | |
| template<typename Other > | |
| PermutationMatrix (const TranspositionsBase< Other > &tr) | |
| Convert the Transpositions tr to a permutation matrix. | |
| template<typename Other > | |
| PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
| Copies the other permutation into *this. | |
| template<typename Other > | |
| PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
| Assignment from the Transpositions tr. | |
| const IndicesType & | indices () const |
| const version of indices(). | |
| IndicesType & | indices () |
| Index | rows () const |
| Index | cols () const |
| Index | size () const |
| DenseMatrixType | toDenseMatrix () const |
| void | resize (Index size) |
| Resizes to given size. | |
| void | setIdentity () |
| Sets *this to be the identity permutation matrix. | |
| void | setIdentity (Index size) |
| Sets *this to be the identity permutation matrix of given size. | |
| PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | applyTranspositionOnTheLeft (Index i, Index j) |
Multiplies *this by the transposition on the left. | |
| PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | applyTranspositionOnTheRight (Index i, Index j) |
Multiplies *this by the transposition on the right. | |
| Transpose< PermutationBase > | inverse () const |
| Transpose< PermutationBase > | transpose () const |
| PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
| PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
| PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | derived () |
| const PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | derived () const |
| PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | const_cast_derived () const |
| const PermutationMatrix < SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | const_derived () const |
| void | evalTo (Dest &dst) const |
| void | addTo (Dest &dst) const |
| void | subTo (Dest &dst) const |
| void | applyThisOnTheRight (Dest &dst) const |
| void | applyThisOnTheLeft (Dest &dst) const |
Protected Attributes | |
| IndicesType | m_indices |
Private Types | |
| typedef PermutationBase < PermutationMatrix > | Base |
| typedef internal::traits < PermutationMatrix > | Traits |
Friends | |
| PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other, const PermutationBase &perm) |
typedef PermutationBase<PermutationMatrix> Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::Base [private] |
typedef internal::traits<PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::Index Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::Index [inherited] |
typedef internal::traits<PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::StorageKind Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::StorageKind [inherited] |
typedef internal::traits<PermutationMatrix> Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::Traits [private] |
| Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::PermutationMatrix | ( | ) | [inline] |
| Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::PermutationMatrix | ( | int | size | ) | [inline] |
| Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::PermutationMatrix | ( | const PermutationBase< OtherDerived > & | other | ) | [inline] |
| Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::PermutationMatrix | ( | const MatrixBase< Other > & | indices | ) | [inline, explicit] |
Generic constructor from expression of the indices.
The indices array has the meaning that the permutations sends each integer i to indices[i].
| Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::PermutationMatrix | ( | const TranspositionsBase< Other > & | tr | ) | [inline, explicit] |
Convert the Transpositions tr to a permutation matrix.
| void Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::addTo | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::applyThisOnTheLeft | ( | Dest & | dst | ) | const [inline, inherited] |
| void Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::applyThisOnTheRight | ( | Dest & | dst | ) | const [inline, inherited] |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::applyTranspositionOnTheLeft | ( | Index | i, |
| Index | j | ||
| ) | [inline, inherited] |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::applyTranspositionOnTheRight | ( | Index | i, |
| Index | j | ||
| ) | [inline, inherited] |
| Index Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::cols | ( | void | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::const_cast_derived | ( | ) | const [inline, inherited] |
| const PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::const_derived | ( | ) | const [inline, inherited] |
| const PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::derived | ( | ) | const [inline, inherited] |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::derived | ( | ) | [inline, inherited] |
| void Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::evalTo | ( | Dest & | dst | ) | const [inline, inherited] |
| IndicesType& Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::indices | ( | ) | [inline] |
Reimplemented from Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| const IndicesType& Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::indices | ( | ) | const [inline] |
const version of indices().
Reimplemented from Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| Transpose<PermutationBase> Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::inverse | ( | ) | const [inline, inherited] |
| PlainPermutationType Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::operator* | ( | const Transpose< PermutationBase< Other > > & | other | ) | const [inline, inherited] |
| PlainPermutationType Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::operator* | ( | const PermutationBase< Other > & | other | ) | const [inline, inherited] |
| PermutationMatrix& Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::operator= | ( | const TranspositionsBase< Other > & | tr | ) | [inline] |
Assignment from the Transpositions tr.
| PermutationMatrix& Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::operator= | ( | const PermutationBase< Other > & | other | ) | [inline] |
| void Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::resize | ( | Index | size | ) | [inline, inherited] |
| Index Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::rows | ( | void | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| void Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::setIdentity | ( | ) | [inline, inherited] |
| void Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::setIdentity | ( | Index | size | ) | [inline, inherited] |
| Index Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::size | ( | ) | const [inline, inherited] |
Reimplemented from Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| void Eigen::EigenBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::subTo | ( | Dest & | dst | ) | const [inline, inherited] |
| DenseMatrixType Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::toDenseMatrix | ( | ) | const [inline, inherited] |
| Transpose<PermutationBase> Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >::transpose | ( | ) | const [inline, inherited] |
| PlainPermutationType operator* | ( | const Transpose< PermutationBase< Other > > & | other, |
| const PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > > & | perm | ||
| ) | [friend, inherited] |
IndicesType Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >::m_indices [protected] |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |