|
|
| PermutationMatrix (int size) |
| | Constructs an uninitialized permutation matrix of given size.
|
| |
| template<typename OtherDerived > |
| | PermutationMatrix (const PermutationBase< OtherDerived > &other) |
| | Copy constructor. More...
|
| |
| | PermutationMatrix (const PermutationMatrix &other) |
| | Standard copy constructor. More...
|
| |
| template<typename Other > |
| | PermutationMatrix (const MatrixBase< Other > &a_indices) |
| | Generic constructor from expression of the indices. More...
|
| |
|
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.
|
| |
| PermutationMatrix & | operator= (const PermutationMatrix &other) |
| | This is a special case of the templated operator=. More...
|
| |
| const IndicesType & | indices () const |
| | const version of indices(). More...
|
| |
| IndicesType & | indices () |
| |
|
template<typename Other > |
| | PermutationMatrix (const Transpose< PermutationBase< Other > > &other) |
| |
|
template<typename Lhs , typename Rhs > |
| | PermutationMatrix (internal::PermPermProduct_t, const Lhs &lhs, const Rhs &rhs) |
| |
|
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | operator= (const PermutationBase< OtherDerived > &other) |
| | Copies the other permutation into *this.
|
| |
|
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
| | Assignment from the Transpositions tr.
|
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | operator= (const PermutationBase &other) |
| | This is a special case of the templated operator=. More...
|
| |
| Index | rows () const |
| |
| Index | cols () const |
| |
| Index | size () const |
| |
|
void | evalTo (MatrixBase< DenseDerived > &other) const |
| |
| DenseMatrixType | toDenseMatrix () const |
| |
| const IndicesType & | indices () const |
| | const version of indices(). More...
|
| |
| IndicesType & | indices () |
| |
|
void | resize (Index newSize) |
| | Resizes to given size.
|
| |
|
void | setIdentity () |
| | Sets *this to be the identity permutation matrix.
|
| |
|
void | setIdentity (Index newSize) |
| | 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 \((ij)\) on the left. More...
|
| |
| PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | applyTranspositionOnTheRight (Index i, Index j) |
| | Multiplies *this by the transposition \((ij)\) on the right. More...
|
| |
| Transpose< PermutationBase > | inverse () const |
| |
| Transpose< PermutationBase > | transpose () const |
| |
| PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
| |
| PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
| |
| Index | determinant () const |
| |
| Derived & | derived () |
| |
| const Derived & | derived () const |
| |
|
Derived & | const_cast_derived () const |
| |
|
const Derived & | const_derived () const |
| |
| Index | rows () const |
| |
| Index | cols () const |
| |
| Index | size () const |
| |
|
template<typename Dest > |
| void | evalTo (Dest &dst) const |
| |
|
template<typename Dest > |
| void | addTo (Dest &dst) const |
| |
|
template<typename Dest > |
| void | subTo (Dest &dst) const |
| |
|
template<typename Dest > |
| void | applyThisOnTheRight (Dest &dst) const |
| |
|
template<typename Dest > |
| void | applyThisOnTheLeft (Dest &dst) const |
| |
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
class Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >
Permutation matrix.
- Parameters
-
| 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.
- See also
- class PermutationBase, class PermutationWrapper, class DiagonalMatrix