|
const IndicesType & | indices () const |
|
IndicesType & | indices () |
|
template<typename Other > |
PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
|
template<typename Other > |
PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
|
PermutationMatrix & | operator= (const PermutationMatrix &other) |
|
| PermutationMatrix () |
|
| PermutationMatrix (int size) |
|
template<typename OtherDerived > |
| PermutationMatrix (const PermutationBase< OtherDerived > &other) |
|
| PermutationMatrix (const PermutationMatrix &other) |
|
template<typename Other > |
| PermutationMatrix (const MatrixBase< Other > &a_indices) |
|
template<typename Other > |
| PermutationMatrix (const TranspositionsBase< Other > &tr) |
|
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 > & | applyTranspositionOnTheLeft (Index i, Index j) |
|
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | applyTranspositionOnTheRight (Index i, Index j) |
|
Index | cols () const |
|
void | evalTo (MatrixBase< DenseDerived > &other) const |
|
const IndicesType & | indices () const |
|
IndicesType & | indices () |
|
Transpose< PermutationBase > | inverse () const |
|
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
|
PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
|
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | operator= (const PermutationBase< OtherDerived > &other) |
|
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
|
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType > & | operator= (const PermutationBase &other) |
|
void | resize (Index newSize) |
|
Index | rows () const |
|
void | setIdentity () |
|
void | setIdentity (Index newSize) |
|
Index | size () const |
|
DenseMatrixType | toDenseMatrix () const |
|
Transpose< PermutationBase > | transpose () const |
|
template<typename Dest > |
void | addTo (Dest &dst) const |
|
template<typename Dest > |
void | applyThisOnTheLeft (Dest &dst) const |
|
template<typename Dest > |
void | applyThisOnTheRight (Dest &dst) const |
|
Index | cols () const |
|
Derived & | const_cast_derived () const |
|
const Derived & | const_derived () const |
|
Derived & | derived () |
|
const Derived & | derived () const |
|
template<typename Dest > |
void | evalTo (Dest &dst) const |
|
Index | rows () const |
|
Index | size () const |
|
template<typename Dest > |
void | subTo (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
Definition at line 283 of file PermutationMatrix.h.
template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename IndexType>
template<typename Other >
Generic constructor from expression of the indices. The indices array has the meaning that the permutations sends each integer i to indices[i].
- Warning
- It is your responsibility to check that the indices array that you passes actually describes a permutation, i.e., each value between 0 and n-1 occurs exactly once, where n is the array's size.
Definition at line 320 of file PermutationMatrix.h.