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 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. | |
| Derived & | applyTranspositionOnTheLeft (Index i, Index j) |
Multiplies *this by the transposition on the left. | |
| Derived & | 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 |
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::Base [private] |
typedef internal::traits<PermutationMatrix> Eigen::PermutationMatrix::Traits [private] |
| Eigen::PermutationMatrix::PermutationMatrix | ( | int | size | ) | [inline] |
| Eigen::PermutationMatrix::PermutationMatrix | ( | const PermutationBase< OtherDerived > & | other | ) | [inline] |
| Eigen::PermutationMatrix::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::PermutationMatrix | ( | const TranspositionsBase< Other > & | tr | ) | [inline, explicit] |
Convert the Transpositions tr to a permutation matrix.
| Derived& Eigen::PermutationBase::applyTranspositionOnTheLeft | ( | Index | i, |
| Index | j | ||
| ) | [inline, inherited] |
| Derived& Eigen::PermutationBase::applyTranspositionOnTheRight | ( | Index | i, |
| Index | j | ||
| ) | [inline, inherited] |
| Index Eigen::PermutationBase::cols | ( | void | ) | const [inline, inherited] |
| const IndicesType& Eigen::PermutationMatrix::indices | ( | ) | const [inline] |
const version of indices().
Reimplemented from Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| IndicesType& Eigen::PermutationMatrix::indices | ( | ) | [inline] |
Reimplemented from Eigen::PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > >.
| Transpose<PermutationBase> Eigen::PermutationBase::inverse | ( | ) | const [inline, inherited] |
| PlainPermutationType Eigen::PermutationBase::operator* | ( | const PermutationBase< Other > & | other | ) | const [inline, inherited] |
| PlainPermutationType Eigen::PermutationBase::operator* | ( | const Transpose< PermutationBase< Other > > & | other | ) | const [inline, inherited] |
| PermutationMatrix& Eigen::PermutationMatrix::operator= | ( | const PermutationBase< Other > & | other | ) | [inline] |
| PermutationMatrix& Eigen::PermutationMatrix::operator= | ( | const TranspositionsBase< Other > & | tr | ) | [inline] |
Assignment from the Transpositions tr.
| void Eigen::PermutationBase::resize | ( | Index | size | ) | [inline, inherited] |
| Index Eigen::PermutationBase::rows | ( | void | ) | const [inline, inherited] |
| void Eigen::PermutationBase::setIdentity | ( | ) | [inline, inherited] |
| void Eigen::PermutationBase::setIdentity | ( | Index | size | ) | [inline, inherited] |
| Index Eigen::PermutationBase::size | ( | ) | const [inline, inherited] |
| DenseMatrixType Eigen::PermutationBase::toDenseMatrix | ( | ) | const [inline, inherited] |
| Transpose<PermutationBase> Eigen::PermutationBase::transpose | ( | ) | const [inline, inherited] |
| PlainPermutationType operator* | ( | const Transpose< PermutationBase< Other > > & | other, |
| const PermutationBase< PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > > & | perm | ||
| ) | [friend, inherited] |
IndicesType Eigen::PermutationMatrix::m_indices [protected] |
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |