Public Types | Public Member Functions | Protected Attributes

Transpose< MatrixType > Class Template Reference

Expression of the transpose of a matrix. More...

#include <Transpose.h>

List of all members.

Public Types

typedef TransposeImpl
< MatrixType, typename
internal::traits< MatrixType >
::StorageKind >::Base 
Base

Public Member Functions

 Transpose (MatrixType &matrix)
Index rows () const
Index cols () const
const internal::remove_all
< typename MatrixType::Nested >
::type
nestedExpression () const
internal::remove_all< typename
MatrixType::Nested >::type
nestedExpression ()

Protected Attributes

const MatrixType::Nested m_matrix

Detailed Description

template<typename MatrixType>
class Transpose< MatrixType >

Expression of the transpose of a matrix.

Parameters:
MatrixType the type of the object of which we are taking the transpose

This class represents an expression of the transpose of a matrix. It is the return type of MatrixBase::transpose() and MatrixBase::adjoint() and most of the time this is the only way it is used.

See also:
MatrixBase::transpose(), MatrixBase::adjoint()

Member Typedef Documentation

template<typename MatrixType>
typedef TransposeImpl<MatrixType,typename internal::traits<MatrixType>::StorageKind>::Base Transpose< MatrixType >::Base

Constructor & Destructor Documentation

template<typename MatrixType>
Transpose< MatrixType >::Transpose ( MatrixType &  matrix  )  [inline]

Member Function Documentation

template<typename MatrixType>
Index Transpose< MatrixType >::cols ( void   )  const [inline]
template<typename MatrixType>
internal::remove_all<typename MatrixType::Nested>::type& Transpose< MatrixType >::nestedExpression (  )  [inline]
Returns:
the nested expression
template<typename MatrixType>
const internal::remove_all<typename MatrixType::Nested>::type& Transpose< MatrixType >::nestedExpression (  )  const [inline]
Returns:
the nested expression
template<typename MatrixType>
Index Transpose< MatrixType >::rows ( void   )  const [inline]

Member Data Documentation

template<typename MatrixType>
const MatrixType::Nested Transpose< MatrixType >::m_matrix [protected]

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