template<int SizeAtCompileTime, int MaxSizeAtCompileTime, typename _StorageIndex>
class Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex >
Permutation matrix.
- Template 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. |
_StorageIndex | the integer 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
|
IndicesType & | indices () |
const IndicesType & | indices () const |
template<typename Other> |
PermutationMatrix & | operator= (const PermutationBase< Other > &other) |
template<typename Other> |
PermutationMatrix & | operator= (const TranspositionsBase< Other > &tr) |
template<typename Other> |
| PermutationMatrix (const MatrixBase< Other > &indices) |
template<typename OtherDerived> |
| PermutationMatrix (const PermutationBase< OtherDerived > &other) |
template<typename Other> |
| PermutationMatrix (const TranspositionsBase< Other > &tr) |
| PermutationMatrix (Index size) |
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | applyTranspositionOnTheLeft (Index i, Index j) |
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | applyTranspositionOnTheRight (Index i, Index j) |
Index | cols () const |
Index | determinant () const |
const IndicesType & | indices () const |
InverseReturnType | inverse () const |
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | operator= (const PermutationBase< OtherDerived > &other) |
void | resize (Index newSize) |
Index | rows () const |
void | setIdentity () |
Index | size () const |
DenseMatrixType | toDenseMatrix () const |
InverseReturnType | transpose () const |
EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndex > & | derived () |
EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
EIGEN_CONSTEXPR Index | size () const EIGEN_NOEXCEPT |