Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions | Protected Attributes

Transpose< MatrixType > Class Template Reference


Detailed Description

template<typename MatrixType>
class Transpose< MatrixType >

Expression of the transpose of a matrix.

Parameters:
MatrixTypethe 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()

Definition at line 70 of file Transpose.h.

#include <src/Core/Transpose.h>

List of all members.

Public Types

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

Public Member Functions

 Transpose (const 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

Member Typedef Documentation

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

Definition at line 75 of file Transpose.h.


Constructor & Destructor Documentation

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

Definition at line 78 of file Transpose.h.


Member Function Documentation

template<typename MatrixType>
Index Transpose< MatrixType >::cols ( void   ) const [inline]

Definition at line 83 of file Transpose.h.

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

Definition at line 91 of file Transpose.h.

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

Definition at line 82 of file Transpose.h.


Member Data Documentation

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

Definition at line 94 of file Transpose.h.




Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:46:17 UTC 2011