#include <Transpositions.h>
Public Types | |
typedef TranspositionsBase < TranspositionsWrapper > | Base |
typedef IndicesType::Scalar | Index |
typedef Traits::IndicesType | IndicesType |
Public Member Functions | |
const Index & | coeff (Index i) const |
Index & | coeffRef (Index i) |
TranspositionsWrapper < _IndicesType > & | derived () |
const TranspositionsWrapper < _IndicesType > & | derived () const |
const IndicesType & | indices () const |
IndicesType & | indices () |
Transpose< TranspositionsBase > | inverse () const |
const Index & | operator() (Index i) const |
Index & | operator() (Index i) |
template<typename OtherDerived > | |
TranspositionsWrapper & | operator= (const TranspositionsBase< OtherDerived > &other) |
const Index & | operator[] (Index i) const |
Index & | operator[] (Index i) |
void | resize (int size) |
void | setIdentity () |
Index | size () const |
Transpose< TranspositionsBase > | transpose () const |
TranspositionsWrapper (IndicesType &indices) |
Protected Attributes | |
const IndicesType::Nested | m_indices |
typedef TranspositionsBase<TranspositionsWrapper> Base |
typedef IndicesType::Scalar Index |
typedef Traits::IndicesType IndicesType |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
const version of indices().
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
References TranspositionsWrapper< _IndicesType >::m_indices.
|
inline |
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
References TranspositionsWrapper< _IndicesType >::m_indices.
|
inlineinherited |
Direct access to the underlying index vector
|
inline |
Copies the other transpositions into *this
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
References TranspositionsBase< Derived >::operator=().
Direct access to the underlying index vector
|
inlineinherited |
Resizes to given size.
|
inlineinherited |
Sets *this
to represents an identity transformation
|
inlineinherited |
|
inlineinherited |
|
protected |
Referenced by TranspositionsWrapper< _IndicesType >::indices().