Public Member Functions | List of all members
PermutationWrapper< _IndicesType > Class Template Reference

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

+ Inheritance diagram for PermutationWrapper< _IndicesType >:

Public Member Functions

const internal::remove_all
< typename IndicesType::Nested >
::type & 
indices () const
 
- Public Member Functions inherited from PermutationBase< PermutationWrapper< _IndicesType > >
PermutationWrapper
< _IndicesType > & 
applyTranspositionOnTheLeft (Index i, Index j)
 
PermutationWrapper
< _IndicesType > & 
applyTranspositionOnTheRight (Index i, Index j)
 
Index cols () const
 
const IndicesType & indices () const
 
IndicesType & indices ()
 
Transpose< PermutationBaseinverse () const
 
PlainPermutationType operator* (const PermutationBase< Other > &other) const
 
PlainPermutationType operator* (const Transpose< PermutationBase< Other > > &other) const
 
PermutationWrapper
< _IndicesType > & 
operator= (const PermutationBase< OtherDerived > &other)
 
PermutationWrapper
< _IndicesType > & 
operator= (const TranspositionsBase< OtherDerived > &tr)
 
void resize (Index size)
 
Index rows () const
 
void setIdentity ()
 
void setIdentity (Index size)
 
Index size () const
 
DenseMatrixType toDenseMatrix () const
 
Transpose< PermutationBasetranspose () const
 

Detailed Description

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

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

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

Member Function Documentation

const internal::remove_all<typename IndicesType::Nested>::type& indices ( ) const
inline

const version of indices().


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