Public Types | Public Member Functions

TranspositionsBase< Derived > Class Template Reference

#include <Transpositions.h>

List of all members.

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 Indexcoeff (Index i) const
IndexcoeffRef (Index i)
const Indexoperator() (Index i) const
Indexoperator() (Index i)
const Indexoperator[] (Index i) const
Indexoperator[] (Index i)
const IndicesTypeindices () const
IndicesTypeindices ()
void resize (int size)
void setIdentity ()
Transpose< TranspositionsBaseinverse () const
Transpose< TranspositionsBasetranspose () const

template<typename Derived>
class TranspositionsBase< Derived >


Member Typedef Documentation

template<typename Derived>
typedef IndicesType::Scalar TranspositionsBase< Derived >::Index
template<typename Derived>
typedef Traits::IndicesType TranspositionsBase< Derived >::IndicesType

Member Function Documentation

template<typename Derived>
const Index& TranspositionsBase< Derived >::coeff ( Index  i  )  const [inline]

Direct access to the underlying index vector

template<typename Derived>
Index& TranspositionsBase< Derived >::coeffRef ( Index  i  )  [inline]

Direct access to the underlying index vector

template<typename Derived>
const Derived& TranspositionsBase< Derived >::derived (  )  const [inline]
template<typename Derived>
Derived& TranspositionsBase< Derived >::derived (  )  [inline]
template<typename Derived>
const IndicesType& TranspositionsBase< Derived >::indices (  )  const [inline]
template<typename Derived>
IndicesType& TranspositionsBase< Derived >::indices (  )  [inline]
template<typename Derived>
Transpose<TranspositionsBase> TranspositionsBase< Derived >::inverse (  )  const [inline]
Returns:
the inverse transformation
template<typename Derived>
const Index& TranspositionsBase< Derived >::operator() ( Index  i  )  const [inline]

Direct access to the underlying index vector

template<typename Derived>
Index& TranspositionsBase< Derived >::operator() ( Index  i  )  [inline]

Direct access to the underlying index vector

template<typename Derived>
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=.

template<typename Derived>
template<typename OtherDerived >
Derived& TranspositionsBase< Derived >::operator= ( const TranspositionsBase< OtherDerived > &  other  )  [inline]
template<typename Derived>
Index& TranspositionsBase< Derived >::operator[] ( Index  i  )  [inline]

Direct access to the underlying index vector

template<typename Derived>
const Index& TranspositionsBase< Derived >::operator[] ( Index  i  )  const [inline]

Direct access to the underlying index vector

template<typename Derived>
void TranspositionsBase< Derived >::resize ( int  size  )  [inline]

Resizes to given size.

template<typename Derived>
void TranspositionsBase< Derived >::setIdentity (  )  [inline]

Sets *this to represents an identity transformation

template<typename Derived>
Index TranspositionsBase< Derived >::size (  )  const [inline]
Returns:
the number of transpositions
template<typename Derived>
Transpose<TranspositionsBase> TranspositionsBase< Derived >::transpose (  )  const [inline]
Returns:
the tranpose transformation

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