#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 |
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
typedef Traits::IndicesType IndicesType |
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
TranspositionsWrapper | ( | IndicesType & | indices | ) | [inline] |
Direct access to the underlying index vector
TranspositionsWrapper< _IndicesType > & derived | ( | ) | [inline, inherited] |
const TranspositionsWrapper< _IndicesType > & derived | ( | ) | const [inline, inherited] |
const IndicesType& indices | ( | ) | const [inline] |
const version of indices().
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
References TranspositionsWrapper< _IndicesType >::m_indices.
IndicesType& indices | ( | ) | [inline] |
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
References TranspositionsWrapper< _IndicesType >::m_indices.
Transpose<TranspositionsBase> inverse | ( | ) | const [inline, inherited] |
Direct access to the underlying index vector
TranspositionsWrapper& operator= | ( | const TranspositionsBase< OtherDerived > & | other | ) | [inline] |
Copies the other transpositions into *this
Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.
References TranspositionsBase< Derived >::operator=().
Direct access to the underlying index vector
void setIdentity | ( | ) | [inline, inherited] |
Sets *this
to represents an identity transformation
Transpose<TranspositionsBase> transpose | ( | ) | const [inline, inherited] |
const IndicesType::Nested m_indices [protected] |
Referenced by TranspositionsWrapper< _IndicesType >::indices().