Public Types | Public Member Functions | Protected Attributes
Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess > Class Template Reference

#include <Transpositions.h>

+ Inheritance diagram for Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >:

List of all members.

Public Types

typedef TranspositionsBase< MapBase
typedef IndicesType::Scalar Index
typedef Traits::IndicesType IndicesType

Public Member Functions

const Indexcoeff (Index i) const
IndexcoeffRef (Index i)
Map< Transpositions
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType >, PacketAccess > & 
derived ()
const Map< Transpositions
< SizeAtCompileTime,
MaxSizeAtCompileTime,
IndexType >, PacketAccess > & 
derived () const
const IndicesTypeindices () const
IndicesTypeindices ()
Transpose< TranspositionsBaseinverse () const
 Map (const Index *indices)
 Map (const Index *indices, Index size)
const Indexoperator() (Index i) const
Indexoperator() (Index i)
template<typename OtherDerived >
Mapoperator= (const TranspositionsBase< OtherDerived > &other)
const Indexoperator[] (Index i) const
Indexoperator[] (Index i)
void resize (int size)
void setIdentity ()
Index size () const
Transpose< TranspositionsBasetranspose () const

Protected Attributes

IndicesType m_indices

Member Typedef Documentation

typedef IndicesType::Scalar Index
typedef Traits::IndicesType IndicesType

Constructor & Destructor Documentation

Map ( const Index indices)
inline
Map ( const Index indices,
Index  size 
)
inline

Member Function Documentation

const Index& coeff ( Index  i) const
inlineinherited

Direct access to the underlying index vector

Index& coeffRef ( Index  i)
inlineinherited

Direct access to the underlying index vector

Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess > & derived ( )
inlineinherited
const Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess > & derived ( ) const
inlineinherited
const IndicesType& indices ( ) const
inline
IndicesType& indices ( )
inline
Returns:
a reference to the stored array representing the transpositions.

Reimplemented from TranspositionsBase< Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess > >.

Transpose<TranspositionsBase> inverse ( ) const
inlineinherited
Returns:
the inverse transformation
const Index& operator() ( Index  i) const
inlineinherited

Direct access to the underlying index vector

Index& operator() ( Index  i)
inlineinherited

Direct access to the underlying index vector

Map& operator= ( const TranspositionsBase< OtherDerived > &  other)
inline
const Index& operator[] ( Index  i) const
inlineinherited

Direct access to the underlying index vector

Index& operator[] ( Index  i)
inlineinherited

Direct access to the underlying index vector

void resize ( int  size)
inlineinherited

Resizes to given size.

void setIdentity ( )
inlineinherited

Sets *this to represents an identity transformation

Index size ( ) const
inlineinherited
Returns:
the number of transpositions
Transpose<TranspositionsBase> transpose ( ) const
inlineinherited
Returns:
the tranpose transformation

Member Data Documentation

IndicesType m_indices
protected

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