#include <Transpositions.h>
Public Types | |
typedef IndicesType::Scalar | Index |
typedef Traits::IndicesType | IndicesType |
Public Member Functions | |
const Index & | coeff (Index i) const |
Index & | coeffRef (Index i) |
Derived & | derived () |
const Derived & | 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 > | |
Derived & | operator= (const TranspositionsBase< OtherDerived > &other) |
Derived & | operator= (const TranspositionsBase &other) |
const Index & | operator[] (Index i) const |
Index & | operator[] (Index i) |
void | resize (int size) |
void | setIdentity () |
Index | size () const |
Transpose< TranspositionsBase > | transpose () const |
Private Types | |
typedef internal::traits< Derived > | Traits |
Definition at line 62 of file Transpositions.h.
typedef IndicesType::Scalar TranspositionsBase< Derived >::Index |
Reimplemented in TranspositionsWrapper< _IndicesType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Definition at line 69 of file Transpositions.h.
typedef Traits::IndicesType TranspositionsBase< Derived >::IndicesType |
Reimplemented in TranspositionsWrapper< _IndicesType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Definition at line 68 of file Transpositions.h.
typedef internal::traits<Derived> TranspositionsBase< Derived >::Traits [private] |
Reimplemented in TranspositionsWrapper< _IndicesType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Definition at line 64 of file Transpositions.h.
const Index& TranspositionsBase< Derived >::coeff | ( | Index | i | ) | const [inline] |
Direct access to the underlying index vector
Definition at line 97 of file Transpositions.h.
Index& TranspositionsBase< Derived >::coeffRef | ( | Index | i | ) | [inline] |
Direct access to the underlying index vector
Definition at line 99 of file Transpositions.h.
Derived& TranspositionsBase< Derived >::derived | ( | ) | [inline] |
Definition at line 71 of file Transpositions.h.
const Derived& TranspositionsBase< Derived >::derived | ( | ) | const [inline] |
Definition at line 72 of file Transpositions.h.
const IndicesType& TranspositionsBase< Derived >::indices | ( | ) | const [inline] |
const version of indices().
Reimplemented in TranspositionsWrapper< _IndicesType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Definition at line 110 of file Transpositions.h.
IndicesType& TranspositionsBase< Derived >::indices | ( | ) | [inline] |
Reimplemented in TranspositionsWrapper< _IndicesType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Definition at line 112 of file Transpositions.h.
Transpose<TranspositionsBase> TranspositionsBase< Derived >::inverse | ( | ) | const [inline] |
Definition at line 149 of file Transpositions.h.
const Index& TranspositionsBase< Derived >::operator() | ( | Index | i | ) | const [inline] |
Direct access to the underlying index vector
Definition at line 101 of file Transpositions.h.
Index& TranspositionsBase< Derived >::operator() | ( | Index | i | ) | [inline] |
Direct access to the underlying index vector
Definition at line 103 of file Transpositions.h.
Derived& TranspositionsBase< Derived >::operator= | ( | const TranspositionsBase< OtherDerived > & | other | ) | [inline] |
Copies the other transpositions into *this
Reimplemented in TranspositionsWrapper< _IndicesType >, Map< Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, PacketAccess >, Transpositions< SizeAtCompileTime, MaxSizeAtCompileTime, IndexType >, and Transpositions< RowsAtCompileTime, MaxRowsAtCompileTime >.
Definition at line 76 of file Transpositions.h.
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=.
Definition at line 86 of file Transpositions.h.
const Index& TranspositionsBase< Derived >::operator[] | ( | Index | i | ) | const [inline] |
Direct access to the underlying index vector
Definition at line 105 of file Transpositions.h.
Index& TranspositionsBase< Derived >::operator[] | ( | Index | i | ) | [inline] |
Direct access to the underlying index vector
Definition at line 107 of file Transpositions.h.
void TranspositionsBase< Derived >::resize | ( | int | size | ) | [inline] |
Resizes to given size.
Definition at line 115 of file Transpositions.h.
void TranspositionsBase< Derived >::setIdentity | ( | ) | [inline] |
Sets *this
to represents an identity transformation
Definition at line 121 of file Transpositions.h.
Index TranspositionsBase< Derived >::size | ( | ) | const [inline] |
Definition at line 94 of file Transpositions.h.
Transpose<TranspositionsBase> TranspositionsBase< Derived >::transpose | ( | ) | const [inline] |
Definition at line 153 of file Transpositions.h.