Public Types | Public Member Functions | Protected Attributes | Private Types | List of all members
Eigen::PermutationWrapper< _IndicesType > Class Template Reference

Class to view a vector of integers as a permutation matrix. More...

#include <PermutationMatrix.h>

Inheritance diagram for Eigen::PermutationWrapper< _IndicesType >:
Inheritance graph
[legend]

Public Types

typedef Traits::IndicesType IndicesType
 
- Public Types inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > >
enum  
 
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTimeDenseMatrixType
 
typedef Traits::Index Index
 
typedef Traits::IndicesType IndicesType
 
typedef PermutationMatrix< IndicesType::SizeAtCompileTime, IndicesType::MaxSizeAtCompileTime, IndexPlainPermutationType
 
typedef Traits::Scalar Scalar
 
- Public Types inherited from Eigen::EigenBase< Derived >
typedef internal::traits< Derived >::Index Index
 
typedef internal::traits< Derived >::StorageKind StorageKind
 

Public Member Functions

const internal::remove_all< typename IndicesType::Nested >::type & indices () const
 
 PermutationWrapper (const IndicesType &a_indices)
 
- Public Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > >
PermutationWrapper< _IndicesType > & applyTranspositionOnTheLeft (Index i, Index j)
 
PermutationWrapper< _IndicesType > & applyTranspositionOnTheRight (Index i, Index j)
 
Index cols () const
 
void evalTo (MatrixBase< DenseDerived > &other) const
 
const IndicesTypeindices () const
 
IndicesTypeindices ()
 
Transpose< PermutationBaseinverse () const
 
PlainPermutationType operator* (const PermutationBase< Other > &other) const
 
PlainPermutationType operator* (const Transpose< PermutationBase< Other > > &other) const
 
PermutationWrapper< _IndicesType > & operator= (const PermutationBase< OtherDerived > &other)
 
PermutationWrapper< _IndicesType > & operator= (const TranspositionsBase< OtherDerived > &tr)
 
PermutationWrapper< _IndicesType > & operator= (const PermutationBase &other)
 
void resize (Index newSize)
 
Index rows () const
 
void setIdentity ()
 
void setIdentity (Index newSize)
 
Index size () const
 
DenseMatrixType toDenseMatrix () const
 
Transpose< PermutationBasetranspose () const
 
- Public Member Functions inherited from Eigen::EigenBase< Derived >
template<typename Dest >
void addTo (Dest &dst) const
 
template<typename Dest >
void applyThisOnTheLeft (Dest &dst) const
 
template<typename Dest >
void applyThisOnTheRight (Dest &dst) const
 
Index cols () const
 
Derived & const_cast_derived () const
 
const Derived & const_derived () const
 
Derived & derived ()
 
const Derived & derived () const
 
template<typename Dest >
void evalTo (Dest &dst) const
 
Index rows () const
 
Index size () const
 
template<typename Dest >
void subTo (Dest &dst) const
 

Protected Attributes

IndicesType::Nested m_indices
 

Private Types

typedef PermutationBase< PermutationWrapperBase
 
typedef internal::traits< PermutationWrapperTraits
 

Additional Inherited Members

- Protected Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > >
void assignProduct (const Lhs &lhs, const Rhs &rhs)
 
void assignTranspose (const PermutationBase< OtherDerived > &other)
 

Detailed Description

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

Class to view a vector of integers as a permutation matrix.

Parameters
_IndicesTypethe type of the vector of integer (can be any compatible expression)

This class allows to view any vector expression of integers as a permutation matrix.

See also
class PermutationBase, class PermutationMatrix

Definition at line 483 of file PermutationMatrix.h.

Member Typedef Documentation

template<typename _IndicesType>
typedef PermutationBase<PermutationWrapper> Eigen::PermutationWrapper< _IndicesType >::Base
private

Definition at line 485 of file PermutationMatrix.h.

template<typename _IndicesType>
typedef Traits::IndicesType Eigen::PermutationWrapper< _IndicesType >::IndicesType

Definition at line 490 of file PermutationMatrix.h.

template<typename _IndicesType>
typedef internal::traits<PermutationWrapper> Eigen::PermutationWrapper< _IndicesType >::Traits
private

Definition at line 486 of file PermutationMatrix.h.

Constructor & Destructor Documentation

template<typename _IndicesType>
Eigen::PermutationWrapper< _IndicesType >::PermutationWrapper ( const IndicesType a_indices)
inline

Definition at line 493 of file PermutationMatrix.h.

Member Function Documentation

template<typename _IndicesType>
const internal::remove_all<typename IndicesType::Nested>::type& Eigen::PermutationWrapper< _IndicesType >::indices ( ) const
inline

const version of indices().

Definition at line 499 of file PermutationMatrix.h.

Member Data Documentation

template<typename _IndicesType>
IndicesType::Nested Eigen::PermutationWrapper< _IndicesType >::m_indices
protected

Definition at line 503 of file PermutationMatrix.h.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:38