Class to view a vector of integers as a permutation matrix. More...
#include <PermutationMatrix.h>
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 |
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.
typedef Traits::IndicesType PermutationWrapper< _IndicesType >::IndicesType |
Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.
PermutationWrapper< _IndicesType >::PermutationWrapper | ( | const IndicesType & | indices | ) | [inline] |
const internal::remove_all<typename IndicesType::Nested>::type& PermutationWrapper< _IndicesType >::indices | ( | ) | const [inline] |
const version of indices().
Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.
const IndicesType::Nested PermutationWrapper< _IndicesType >::m_indices [protected] |