Public Types | Public Member Functions | Private Types
TranspositionsBase< Derived > Class Template Reference

#include <Transpositions.h>

List of all members.

Public Types

typedef IndicesType::Scalar Index
typedef Traits::IndicesType IndicesType

Public Member Functions

const Indexcoeff (Index i) const
IndexcoeffRef (Index i)
Derived & derived ()
const Derived & derived () const
const IndicesTypeindices () const
IndicesTypeindices ()
Transpose< TranspositionsBaseinverse () const
const Indexoperator() (Index i) const
Indexoperator() (Index i)
template<typename OtherDerived >
Derived & operator= (const TranspositionsBase< OtherDerived > &other)
Derived & operator= (const TranspositionsBase &other)
const Indexoperator[] (Index i) const
Indexoperator[] (Index i)
void resize (int size)
void setIdentity ()
Index size () const
Transpose< TranspositionsBasetranspose () const

Private Types

typedef internal::traits< Derived > Traits

Detailed Description

template<typename Derived>
class TranspositionsBase< Derived >

Definition at line 62 of file Transpositions.h.


Member Typedef Documentation

template<typename Derived>
typedef IndicesType::Scalar TranspositionsBase< Derived >::Index
template<typename Derived>
typedef Traits::IndicesType TranspositionsBase< Derived >::IndicesType
template<typename Derived>
typedef internal::traits<Derived> TranspositionsBase< Derived >::Traits [private]

Member Function Documentation

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

Direct access to the underlying index vector

Definition at line 97 of file Transpositions.h.

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

Direct access to the underlying index vector

Definition at line 99 of file Transpositions.h.

template<typename Derived>
Derived& TranspositionsBase< Derived >::derived ( ) [inline]

Definition at line 71 of file Transpositions.h.

template<typename Derived>
const Derived& TranspositionsBase< Derived >::derived ( ) const [inline]

Definition at line 72 of file Transpositions.h.

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

Definition at line 149 of file Transpositions.h.

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

Direct access to the underlying index vector

Definition at line 101 of file Transpositions.h.

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

Direct access to the underlying index vector

Definition at line 103 of file Transpositions.h.

template<typename Derived>
template<typename OtherDerived >
Derived& TranspositionsBase< Derived >::operator= ( const TranspositionsBase< OtherDerived > &  other) [inline]
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=.

Definition at line 86 of file Transpositions.h.

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

Direct access to the underlying index vector

Definition at line 105 of file Transpositions.h.

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

Direct access to the underlying index vector

Definition at line 107 of file Transpositions.h.

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

Resizes to given size.

Definition at line 115 of file Transpositions.h.

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

Sets *this to represents an identity transformation

Definition at line 121 of file Transpositions.h.

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

Definition at line 94 of file Transpositions.h.

template<typename Derived>
Transpose<TranspositionsBase> TranspositionsBase< Derived >::transpose ( ) const [inline]
Returns:
the tranpose transformation

Definition at line 153 of file Transpositions.h.


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


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:34:26