Please, help us to better know about our user community by answering the following short survey:
Eigen  3.3.9
Eigen::PermutationWrapper< _IndicesType > Class Template Reference

Detailed Description

template<typename _IndicesType>
class Eigen::PermutationWrapper< _IndicesType >

Class to view a vector of integers as a permutation matrix.

Template Parameters
_IndicesTypethe 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.

See also
class PermutationBase, class PermutationMatrix
+ Inheritance diagram for Eigen::PermutationWrapper< _IndicesType >:

Public Member Functions

const internal::remove_all< typename IndicesType::Nested >::type & indices () const
- 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
IndicesType & indices ()
const IndicesType & indices () const
InverseReturnType inverse () const
PlainPermutationType operator* (const InverseImpl< Other, PermutationStorage > &other) const
PlainPermutationType operator* (const PermutationBase< Other > &other) const
PermutationWrapper< _IndicesType > & operator= (const PermutationBase< OtherDerived > &other)
PermutationWrapper< _IndicesType > & operator= (const TranspositionsBase< OtherDerived > &tr)
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< PermutationWrapper< _IndicesType > >
Index cols () const
PermutationWrapper< _IndicesType > & derived ()
const PermutationWrapper< _IndicesType > & derived () const
Index rows () const
Index size () const

Additional Inherited Members

- Public Types inherited from Eigen::EigenBase< PermutationWrapper< _IndicesType > >
typedef Eigen::Index Index
 The interface type of indices. More...

Member Function Documentation

◆ indices()

template<typename _IndicesType >
const internal::remove_all<typename IndicesType::Nested>::type& Eigen::PermutationWrapper< _IndicesType >::indices ( ) const

const version of indices().

The documentation for this class was generated from the following file: