Class to view a vector of integers as a permutation matrix. More...
#include <PermutationMatrix.h>
Public Types | |
typedef Traits::IndicesType | IndicesType |
Public Types inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
enum | |
typedef Matrix< StorageIndex, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
typedef Traits::IndicesType | IndicesType |
typedef Inverse< PermutationWrapper< _IndicesType > > | InverseReturnType |
typedef PlainPermutationType | PlainObject |
typedef PermutationMatrix< IndicesType::SizeAtCompileTime, IndicesType::MaxSizeAtCompileTime, StorageIndex > | PlainPermutationType |
typedef void | Scalar |
typedef Traits::StorageIndex | StorageIndex |
Public Types inherited from Eigen::EigenBase< Derived > | |
typedef Eigen::Index | Index |
The interface type of indices. More... | |
typedef internal::traits< Derived >::StorageKind | StorageKind |
Public Member Functions | |
const internal::remove_all< typename IndicesType::Nested >::type & | indices () const |
PermutationWrapper (const IndicesType &indices) | |
Public Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
PermutationWrapper< _IndicesType > & | applyTranspositionOnTheLeft (Index i, Index j) |
PermutationWrapper< _IndicesType > & | applyTranspositionOnTheRight (Index i, Index j) |
Index | cols () const |
Index | determinant () const |
void | evalTo (MatrixBase< DenseDerived > &other) const |
const IndicesType & | indices () const |
IndicesType & | indices () |
InverseReturnType | inverse () const |
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
PlainPermutationType | operator* (const InverseImpl< Other, PermutationStorage > &other) const |
PermutationWrapper< _IndicesType > & | operator= (const PermutationBase< OtherDerived > &other) |
PermutationWrapper< _IndicesType > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
PermutationWrapper< _IndicesType > & | operator= (const PermutationBase &other) |
void | resize (Index newSize) |
Index | rows () const |
void | setIdentity () |
void | setIdentity (Index newSize) |
Index | size () const |
DenseMatrixType | toDenseMatrix () const |
InverseReturnType | transpose () const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | addTo (Dest &dst) const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | applyThisOnTheLeft (Dest &dst) const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | applyThisOnTheRight (Dest &dst) const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC Derived & | const_cast_derived () const |
EIGEN_DEVICE_FUNC const Derived & | const_derived () const |
EIGEN_DEVICE_FUNC Derived & | derived () |
EIGEN_DEVICE_FUNC const Derived & | derived () const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | evalTo (Dest &dst) const |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | size () const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | subTo (Dest &dst) const |
Protected Attributes | |
IndicesType::Nested | m_indices |
Private Types | |
typedef PermutationBase< PermutationWrapper > | Base |
typedef internal::traits< PermutationWrapper > | Traits |
Additional Inherited Members | |
Protected Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
void | assignProduct (const Lhs &lhs, const Rhs &rhs) |
void | assignTranspose (const PermutationBase< OtherDerived > &other) |
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.
Definition at line 514 of file PermutationMatrix.h.
|
private |
Definition at line 516 of file PermutationMatrix.h.
typedef Traits::IndicesType Eigen::PermutationWrapper< _IndicesType >::IndicesType |
Definition at line 521 of file PermutationMatrix.h.
|
private |
Definition at line 517 of file PermutationMatrix.h.
|
inline |
Definition at line 524 of file PermutationMatrix.h.
|
inline |
const version of indices().
Definition at line 530 of file PermutationMatrix.h.
|
protected |
Definition at line 534 of file PermutationMatrix.h.