Public Types | Public Member Functions | Protected Attributes

PermutationWrapper< _IndicesType > Class Template Reference

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

#include <PermutationMatrix.h>

Inheritance diagram for PermutationWrapper< _IndicesType >:
PermutationBase< PermutationWrapper< _IndicesType > > EigenBase< PermutationWrapper< _IndicesType > >

List of all members.

Public Types

typedef Traits::IndicesType IndicesType

Public Member Functions

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

Protected Attributes

const IndicesType::Nested m_indices

Detailed Description

template<typename _IndicesType>
class PermutationWrapper< _IndicesType >

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

Parameters:
_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.

See also:
class PermutationBase, class PermutationMatrix

Member Typedef Documentation

template<typename _IndicesType>
typedef Traits::IndicesType PermutationWrapper< _IndicesType >::IndicesType

Constructor & Destructor Documentation

template<typename _IndicesType>
PermutationWrapper< _IndicesType >::PermutationWrapper ( const IndicesType indices  )  [inline]

Member Function Documentation

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

Member Data Documentation

template<typename _IndicesType>
const IndicesType::Nested PermutationWrapper< _IndicesType >::m_indices [protected]

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