Eigen::TranspositionsWrapper< IndicesType_ > Class Template Reference
+ Inheritance diagram for Eigen::TranspositionsWrapper< IndicesType_ >:

Public Types

typedef TranspositionsBase< TranspositionsWrapper > Base
 
typedef Traits::IndicesType IndicesType
 
typedef IndicesType::Scalar StorageIndex
 
- Public Types inherited from Eigen::TranspositionsBase< TranspositionsWrapper< IndicesType_ > >
typedef Eigen::Index Index
 
typedef Traits::IndicesType IndicesType
 
typedef IndicesType::Scalar StorageIndex
 

Public Member Functions

IndicesType & indices ()
 
const IndicesType & indices () const
 
template<typename OtherDerived >
TranspositionsWrapper & operator= (const TranspositionsBase< OtherDerived > &other)
 
 TranspositionsWrapper (IndicesType &indices)
 
- Public Member Functions inherited from Eigen::TranspositionsBase< TranspositionsWrapper< IndicesType_ > >
const StorageIndex & coeff (Index i) const
 
StorageIndex & coeffRef (Index i)
 
Index cols () const
 
TranspositionsWrapper< IndicesType_ > & derived ()
 
const TranspositionsWrapper< IndicesType_ > & derived () const
 
IndicesType & indices ()
 
const IndicesType & indices () const
 
Transpose< TranspositionsBase > inverse () const
 
StorageIndex & operator() (Index i)
 
const StorageIndex & operator() (Index i) const
 
TranspositionsWrapper< IndicesType_ > & operator= (const TranspositionsBase< OtherDerived > &other)
 
StorageIndex & operator[] (Index i)
 
const StorageIndex & operator[] (Index i) const
 
void resize (Index newSize)
 
Index rows () const
 
void setIdentity ()
 
Index size () const
 
Transpose< TranspositionsBase > transpose () const
 

Protected Attributes

IndicesType::Nested m_indices
 

Private Types

typedef internal::traits< TranspositionsWrapper > Traits
 

Detailed Description

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

Definition at line 274 of file Transpositions.h.

Member Typedef Documentation

◆ Base

template<typename IndicesType_ >
typedef TranspositionsBase<TranspositionsWrapper> Eigen::TranspositionsWrapper< IndicesType_ >::Base

Definition at line 280 of file Transpositions.h.

◆ IndicesType

template<typename IndicesType_ >
typedef Traits::IndicesType Eigen::TranspositionsWrapper< IndicesType_ >::IndicesType

Definition at line 281 of file Transpositions.h.

◆ StorageIndex

template<typename IndicesType_ >
typedef IndicesType::Scalar Eigen::TranspositionsWrapper< IndicesType_ >::StorageIndex

Definition at line 282 of file Transpositions.h.

◆ Traits

template<typename IndicesType_ >
typedef internal::traits<TranspositionsWrapper> Eigen::TranspositionsWrapper< IndicesType_ >::Traits
private

Definition at line 277 of file Transpositions.h.

Constructor & Destructor Documentation

◆ TranspositionsWrapper()

template<typename IndicesType_ >
Eigen::TranspositionsWrapper< IndicesType_ >::TranspositionsWrapper ( IndicesType &  indices)
inlineexplicit

Definition at line 284 of file Transpositions.h.

285  : m_indices(indices)
286  {}
IndicesType::Nested m_indices
const IndicesType & indices() const

Member Function Documentation

◆ indices() [1/2]

template<typename IndicesType_ >
IndicesType& Eigen::TranspositionsWrapper< IndicesType_ >::indices ( )
inline
Returns
a reference to the stored array representing the transpositions.

Definition at line 301 of file Transpositions.h.

301 { return m_indices; }

◆ indices() [2/2]

template<typename IndicesType_ >
const IndicesType& Eigen::TranspositionsWrapper< IndicesType_ >::indices ( ) const
inline

const version of indices().

Definition at line 297 of file Transpositions.h.

297 { return m_indices; }

◆ operator=()

template<typename IndicesType_ >
template<typename OtherDerived >
TranspositionsWrapper& Eigen::TranspositionsWrapper< IndicesType_ >::operator= ( const TranspositionsBase< OtherDerived > &  other)
inline

Copies the other transpositions into *this

Definition at line 290 of file Transpositions.h.

291  {
292  return Base::operator=(other);
293  }
Derived & operator=(const TranspositionsBase< OtherDerived > &other)

Member Data Documentation

◆ m_indices

template<typename IndicesType_ >
IndicesType::Nested Eigen::TranspositionsWrapper< IndicesType_ >::m_indices
protected

Definition at line 305 of file Transpositions.h.


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