Public Types | Public Member Functions | Protected Attributes | Private Types
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 >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Traits::IndicesType IndicesType

Public Member Functions

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

Protected Attributes

const IndicesType::Nested m_indices

Private Types

typedef PermutationBase
< PermutationWrapper
Base
typedef internal::traits
< PermutationWrapper
Traits

Detailed Description

template<typename _IndicesType>
class 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

Definition at line 494 of file PermutationMatrix.h.


Member Typedef Documentation

template<typename _IndicesType>
typedef PermutationBase<PermutationWrapper> PermutationWrapper< _IndicesType >::Base [private]

Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.

Definition at line 496 of file PermutationMatrix.h.

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

Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.

Definition at line 501 of file PermutationMatrix.h.

template<typename _IndicesType>
typedef internal::traits<PermutationWrapper> PermutationWrapper< _IndicesType >::Traits [private]

Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.

Definition at line 497 of file PermutationMatrix.h.


Constructor & Destructor Documentation

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

Definition at line 504 of file PermutationMatrix.h.


Member Function Documentation

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

const version of indices().

Reimplemented from PermutationBase< PermutationWrapper< _IndicesType > >.

Definition at line 510 of file PermutationMatrix.h.


Member Data Documentation

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

Definition at line 514 of file PermutationMatrix.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:16