Public Types | Public Member Functions | Protected Attributes | Friends

Transpose< PermutationBase< Derived > > Class Template Reference

#include <PermutationMatrix.h>

Inheritance diagram for Transpose< PermutationBase< Derived > >:
EigenBase< Transpose< PermutationBase< Derived > > >

List of all members.

Public Types

enum  {
  Flags = Traits::Flags, CoeffReadCost = Traits::CoeffReadCost, RowsAtCompileTime = Traits::RowsAtCompileTime, ColsAtCompileTime = Traits::ColsAtCompileTime,
  MaxRowsAtCompileTime = Traits::MaxRowsAtCompileTime, MaxColsAtCompileTime = Traits::MaxColsAtCompileTime
}
typedef internal::traits
< PermutationType > 
Traits
typedef Derived::DenseMatrixType DenseMatrixType
typedef Traits::Scalar Scalar

Public Member Functions

 Transpose (const PermutationType &p)
int rows () const
int cols () const
template<typename DenseDerived >
void evalTo (MatrixBase< DenseDerived > &other) const
PlainPermutationType eval () const
DenseMatrixType toDenseMatrix () const
template<typename OtherDerived >
const
internal::permut_matrix_product_retval
< PermutationType,
OtherDerived, OnTheLeft, true > 
operator* (const MatrixBase< OtherDerived > &matrix) const
const PermutationType & nestedPermutation () const

Protected Attributes

const PermutationType & m_permutation

Friends

template<typename OtherDerived >
const
internal::permut_matrix_product_retval
< PermutationType,
OtherDerived, OnTheRight, true > 
operator* (const MatrixBase< OtherDerived > &matrix, const Transpose &trPerm)

template<typename Derived>
class Transpose< PermutationBase< Derived > >


Member Typedef Documentation

template<typename Derived >
typedef Derived::DenseMatrixType Transpose< PermutationBase< Derived > >::DenseMatrixType
template<typename Derived >
typedef Traits::Scalar Transpose< PermutationBase< Derived > >::Scalar
template<typename Derived >
typedef internal::traits<PermutationType> Transpose< PermutationBase< Derived > >::Traits

Member Enumeration Documentation

template<typename Derived >
anonymous enum
Enumerator:
Flags 
CoeffReadCost 
RowsAtCompileTime 
ColsAtCompileTime 
MaxRowsAtCompileTime 
MaxColsAtCompileTime 

Constructor & Destructor Documentation

template<typename Derived >
Transpose< PermutationBase< Derived > >::Transpose ( const PermutationType &  p  )  [inline]

Member Function Documentation

template<typename Derived >
int Transpose< PermutationBase< Derived > >::cols ( void   )  const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from EigenBase< Transpose< PermutationBase< Derived > > >.

template<typename Derived >
PlainPermutationType Transpose< PermutationBase< Derived > >::eval (  )  const [inline]
Returns:
the equivalent permutation matrix
template<typename Derived >
template<typename DenseDerived >
void Transpose< PermutationBase< Derived > >::evalTo ( MatrixBase< DenseDerived > &  other  )  const [inline]
template<typename Derived >
const PermutationType& Transpose< PermutationBase< Derived > >::nestedPermutation (  )  const [inline]
template<typename Derived >
template<typename OtherDerived >
const internal::permut_matrix_product_retval<PermutationType, OtherDerived, OnTheLeft, true> Transpose< PermutationBase< Derived > >::operator* ( const MatrixBase< OtherDerived > &  matrix  )  const [inline]
Returns:
the matrix with the inverse permutation applied to the rows.
template<typename Derived >
int Transpose< PermutationBase< Derived > >::rows ( void   )  const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from EigenBase< Transpose< PermutationBase< Derived > > >.

template<typename Derived >
DenseMatrixType Transpose< PermutationBase< Derived > >::toDenseMatrix (  )  const [inline]

Friends And Related Function Documentation

template<typename Derived >
template<typename OtherDerived >
const internal::permut_matrix_product_retval<PermutationType, OtherDerived, OnTheRight, true> operator* ( const MatrixBase< OtherDerived > &  matrix,
const Transpose< PermutationBase< Derived > > &  trPerm 
) [friend]
Returns:
the matrix with the inverse permutation applied to the columns.

Member Data Documentation

template<typename Derived >
const PermutationType& Transpose< PermutationBase< Derived > >::m_permutation [protected]

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