Shapeworks Studio
2.1
Shape analysis software suite
|
Class to view a vector of integers as a permutation matrix. More...
#include <PermutationMatrix.h>
Public Types | |
typedef Traits::IndicesType | IndicesType |
Public Types inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
enum | |
typedef Traits::IndicesType | IndicesType |
typedef Traits::Scalar | Scalar |
typedef Traits::Index | Index |
typedef Matrix< Scalar, RowsAtCompileTime, ColsAtCompileTime, 0, MaxRowsAtCompileTime, MaxColsAtCompileTime > | DenseMatrixType |
typedef PermutationMatrix< IndicesType::SizeAtCompileTime, IndicesType::MaxSizeAtCompileTime, Index > | PlainPermutationType |
Public Types inherited from Eigen::EigenBase< Derived > | |
typedef internal::traits< Derived >::StorageKind | StorageKind |
typedef internal::traits< Derived >::Index | Index |
Public Member Functions | |
PermutationWrapper (const IndicesType &a_indices) | |
const internal::remove_all< typename IndicesType::Nested >::type & | indices () const |
Public Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
PermutationWrapper< _IndicesType > & | operator= (const PermutationBase< OtherDerived > &other) |
PermutationWrapper< _IndicesType > & | operator= (const TranspositionsBase< OtherDerived > &tr) |
PermutationWrapper< _IndicesType > & | operator= (const PermutationBase &other) |
Index | rows () const |
Index | cols () const |
Index | size () const |
void | evalTo (MatrixBase< DenseDerived > &other) const |
DenseMatrixType | toDenseMatrix () const |
const IndicesType & | indices () const |
IndicesType & | indices () |
void | resize (Index newSize) |
void | setIdentity () |
void | setIdentity (Index newSize) |
PermutationWrapper< _IndicesType > & | applyTranspositionOnTheLeft (Index i, Index j) |
PermutationWrapper< _IndicesType > & | applyTranspositionOnTheRight (Index i, Index j) |
Transpose< PermutationBase > | inverse () const |
Transpose< PermutationBase > | transpose () const |
PlainPermutationType | operator* (const PermutationBase< Other > &other) const |
PlainPermutationType | operator* (const Transpose< PermutationBase< Other > > &other) const |
Public Member Functions inherited from Eigen::EigenBase< Derived > | |
Derived & | derived () |
const Derived & | derived () const |
Derived & | const_cast_derived () const |
const Derived & | const_derived () const |
Index | rows () const |
Index | cols () const |
Index | size () const |
template<typename Dest > | |
void | evalTo (Dest &dst) const |
template<typename Dest > | |
void | addTo (Dest &dst) const |
template<typename Dest > | |
void | subTo (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheRight (Dest &dst) const |
template<typename Dest > | |
void | applyThisOnTheLeft (Dest &dst) const |
Protected Attributes | |
IndicesType::Nested | m_indices |
Additional Inherited Members | |
Protected Member Functions inherited from Eigen::PermutationBase< PermutationWrapper< _IndicesType > > | |
void | assignTranspose (const PermutationBase< OtherDerived > &other) |
void | assignProduct (const Lhs &lhs, const Rhs &rhs) |
Class to view a vector of integers as a permutation matrix.
_IndicesType | the 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.
Definition at line 483 of file PermutationMatrix.h.
|
inline |
const version of indices().
Definition at line 499 of file PermutationMatrix.h.