Public Types | Public Member Functions | Protected Attributes
TranspositionsWrapper< _IndicesType > Class Template Reference

#include <Transpositions.h>

+ Inheritance diagram for TranspositionsWrapper< _IndicesType >:

List of all members.

Public Types

typedef TranspositionsBase
< TranspositionsWrapper
Base
typedef IndicesType::Scalar Index
typedef Traits::IndicesType IndicesType

Public Member Functions

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

Protected Attributes

const IndicesType::Nested m_indices

template<typename _IndicesType>
class Eigen::TranspositionsWrapper< _IndicesType >


Member Typedef Documentation

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

Constructor & Destructor Documentation

TranspositionsWrapper ( IndicesType indices) [inline]

Member Function Documentation

const Index& coeff ( Index  i) const [inline, inherited]

Direct access to the underlying index vector

Index& coeffRef ( Index  i) [inline, inherited]

Direct access to the underlying index vector

TranspositionsWrapper< _IndicesType > & derived ( ) [inline, inherited]
const TranspositionsWrapper< _IndicesType > & derived ( ) const [inline, inherited]
const IndicesType& indices ( ) const [inline]
IndicesType& indices ( ) [inline]
Returns:
a reference to the stored array representing the transpositions.

Reimplemented from TranspositionsBase< TranspositionsWrapper< _IndicesType > >.

References TranspositionsWrapper< _IndicesType >::m_indices.

Transpose<TranspositionsBase> inverse ( ) const [inline, inherited]
Returns:
the inverse transformation
const Index& operator() ( Index  i) const [inline, inherited]

Direct access to the underlying index vector

Index& operator() ( Index  i) [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=().

const Index& operator[] ( Index  i) const [inline, inherited]

Direct access to the underlying index vector

Index& operator[] ( Index  i) [inline, inherited]

Direct access to the underlying index vector

void resize ( int  size) [inline, inherited]

Resizes to given size.

void setIdentity ( ) [inline, inherited]

Sets *this to represents an identity transformation

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

Member Data Documentation

const IndicesType::Nested m_indices [protected]

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