![]() |
Eigen
3.2.92
|
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.
Inheritance diagram for Eigen::PermutationWrapper< _IndicesType >:Public Types | |
| typedef Eigen::Index | Index |
| The interface type of indices. More... | |
Public Member Functions | |
| PermutationWrapper< _IndicesType > & | applyTranspositionOnTheLeft (Index i, Index j) |
| PermutationWrapper< _IndicesType > & | applyTranspositionOnTheRight (Index i, Index j) |
| Index | cols () const |
| Derived & | derived () |
| const Derived & | derived () const |
| Index | determinant () const |
| IndicesType & | indices () |
| const internal::remove_all< typename IndicesType::Nested >::type & | indices () const |
| InverseReturnType | inverse () const |
| PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
| PlainPermutationType | operator* (const InverseImpl< Other, PermutationStorage > &other) const |
| void | resize (Index newSize) |
| Index | rows () const |
| void | setIdentity () |
| void | setIdentity (Index newSize) |
| Index | size () const |
| DenseMatrixType | toDenseMatrix () const |
| InverseReturnType | transpose () const |
|
inherited |
The interface type of indices.
To change this, #define the preprocessor symbol EIGEN_DEFAULT_DENSE_INDEX_TYPE.
|
inlineinherited |
Multiplies *this by the transposition
on the left.
|
inlineinherited |
Multiplies *this by the transposition
on the right.
This is a fast operation, it only consists in swapping two indices.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
This function is O(n) procedure allocating a buffer of n booleans.
|
inlineinherited |
|
inline |
const version of indices().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Resizes to given size.
|
inlineinherited |
|
inlineinherited |
Sets *this to be the identity permutation matrix
|
inlineinherited |
Sets *this to be the identity permutation matrix of given size.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |