Public Member Functions | Protected Attributes
Transpose< MatrixType > Class Template Reference

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

List of all members.

Public Member Functions

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

Protected Attributes

const MatrixType::Nested m_matrix

Detailed Description

template<typename MatrixType>
class Eigen::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()

Member Function Documentation

int cols ( void  ) const [inline]
Returns:
the number of columns.
See also:
rows(), ColsAtCompileTime

Reimplemented from MatrixBase< Transpose< MatrixType > >.

int rows ( void  ) const [inline]
Returns:
the number of rows.
See also:
cols(), RowsAtCompileTime

Reimplemented from MatrixBase< Transpose< MatrixType > >.

int 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 > >.


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