Transpose< MatrixType > Class Template Reference

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

#include <Transpose.h>

Inheritance diagram for Transpose< MatrixType >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const Scalar coeff (int index) const
const Scalar coeff (int row, int col) const
ScalarcoeffRef (int index)
ScalarcoeffRef (int row, int col)
int cols () const
template<int LoadMode>
const PacketScalar packet (int index) const
template<int LoadMode>
const PacketScalar packet (int row, int col) const
int rows () const
int stride (void) const
 Transpose (const MatrixType &matrix)
template<int LoadMode>
void writePacket (int index, const PacketScalar &x)
template<int LoadMode>
void writePacket (int row, int col, const PacketScalar &x)

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()

Definition at line 59 of file Transpose.h.


Constructor & Destructor Documentation

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

Definition at line 66 of file Transpose.h.


Member Function Documentation

template<typename MatrixType >
const Scalar Transpose< MatrixType >::coeff ( int  index  )  const [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 84 of file Transpose.h.

template<typename MatrixType >
const Scalar Transpose< MatrixType >::coeff ( int  row,
int  col 
) const [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 79 of file Transpose.h.

template<typename MatrixType >
Scalar& Transpose< MatrixType >::coeffRef ( int  index  )  [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 89 of file Transpose.h.

template<typename MatrixType >
Scalar& Transpose< MatrixType >::coeffRef ( int  row,
int  col 
) [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 74 of file Transpose.h.

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

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 71 of file Transpose.h.

template<typename MatrixType >
template<int LoadMode>
const PacketScalar Transpose< MatrixType >::packet ( int  index  )  const [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 107 of file Transpose.h.

template<typename MatrixType >
template<int LoadMode>
const PacketScalar Transpose< MatrixType >::packet ( int  row,
int  col 
) const [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 95 of file Transpose.h.

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

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 70 of file Transpose.h.

template<typename MatrixType >
int Transpose< MatrixType >::stride ( void   )  const [inline]
Returns:
number of elements to skip to pass from one row (resp. column) to another for a row-major (resp. column-major) matrix. Combined with coeffRef() and the flags flags, it allows a direct access to the data of the underlying matrix.

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 72 of file Transpose.h.

template<typename MatrixType >
template<int LoadMode>
void Transpose< MatrixType >::writePacket ( int  index,
const PacketScalar x 
) [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 113 of file Transpose.h.

template<typename MatrixType >
template<int LoadMode>
void Transpose< MatrixType >::writePacket ( int  row,
int  col,
const PacketScalar x 
) [inline]

Reimplemented from MatrixBase< Transpose< MatrixType > >.

Definition at line 101 of file Transpose.h.


Member Data Documentation

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

Definition at line 119 of file Transpose.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:22:35 2013