#include <Transpositions.h>
Public Types | |
typedef Traits::IndicesType | IndicesType |
typedef IndicesType::Scalar | Index |
Public Member Functions | |
Derived & | derived () |
const Derived & | derived () const |
template<typename OtherDerived > | |
Derived & | operator= (const TranspositionsBase< OtherDerived > &other) |
Derived & | operator= (const TranspositionsBase &other) |
Index | size () const |
const Index & | coeff (Index i) const |
Index & | coeffRef (Index i) |
const Index & | operator() (Index i) const |
Index & | operator() (Index i) |
const Index & | operator[] (Index i) const |
Index & | operator[] (Index i) |
const IndicesType & | indices () const |
IndicesType & | indices () |
void | resize (int size) |
void | setIdentity () |
Transpose< TranspositionsBase > | inverse () const |
Transpose< TranspositionsBase > | transpose () const |
typedef IndicesType::Scalar TranspositionsBase< Derived >::Index |
typedef Traits::IndicesType TranspositionsBase< Derived >::IndicesType |
const Index& TranspositionsBase< Derived >::coeff | ( | Index | i | ) | const [inline] |
Direct access to the underlying index vector
Index& TranspositionsBase< Derived >::coeffRef | ( | Index | i | ) | [inline] |
Direct access to the underlying index vector
const Derived& TranspositionsBase< Derived >::derived | ( | ) | const [inline] |
Derived& TranspositionsBase< Derived >::derived | ( | ) | [inline] |
const IndicesType& TranspositionsBase< Derived >::indices | ( | ) | const [inline] |
const version of indices().
Reimplemented in Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, TranspositionsWrapper< _IndicesType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
IndicesType& TranspositionsBase< Derived >::indices | ( | ) | [inline] |
Reimplemented in Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, TranspositionsWrapper< _IndicesType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Transpose<TranspositionsBase> TranspositionsBase< Derived >::inverse | ( | ) | const [inline] |
const Index& TranspositionsBase< Derived >::operator() | ( | Index | i | ) | const [inline] |
Direct access to the underlying index vector
Index& TranspositionsBase< Derived >::operator() | ( | Index | i | ) | [inline] |
Direct access to the underlying index vector
Derived& TranspositionsBase< Derived >::operator= | ( | const TranspositionsBase< Derived > & | other | ) | [inline] |
This is a special case of the templated operator=. Its purpose is to prevent a default operator= from hiding the templated operator=.
Derived& TranspositionsBase< Derived >::operator= | ( | const TranspositionsBase< OtherDerived > & | other | ) | [inline] |
Copies the other transpositions into *this
Reimplemented in Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, TranspositionsWrapper< _IndicesType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Index& TranspositionsBase< Derived >::operator[] | ( | Index | i | ) | [inline] |
Direct access to the underlying index vector
const Index& TranspositionsBase< Derived >::operator[] | ( | Index | i | ) | const [inline] |
Direct access to the underlying index vector
void TranspositionsBase< Derived >::resize | ( | int | size | ) | [inline] |
Resizes to given size.
void TranspositionsBase< Derived >::setIdentity | ( | ) | [inline] |
Sets *this
to represents an identity transformation
Index TranspositionsBase< Derived >::size | ( | ) | const [inline] |
Transpose<TranspositionsBase> TranspositionsBase< Derived >::transpose | ( | ) | const [inline] |