Expression of the transpose of a matrix. More...
#include <Transpose.h>
Public Member Functions | |
const Scalar | coeff (int index) const |
const Scalar | coeff (int row, int col) const |
Scalar & | coeffRef (int index) |
Scalar & | coeffRef (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 |
Expression of the transpose of a matrix.
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.
Definition at line 59 of file Transpose.h.
Transpose< MatrixType >::Transpose | ( | const MatrixType & | matrix | ) | [inline] |
Definition at line 66 of file Transpose.h.
const Scalar Transpose< MatrixType >::coeff | ( | int | index | ) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 84 of file Transpose.h.
const Scalar Transpose< MatrixType >::coeff | ( | int | row, | |
int | col | |||
) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 79 of file Transpose.h.
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 89 of file Transpose.h.
Scalar& Transpose< MatrixType >::coeffRef | ( | int | row, | |
int | col | |||
) | [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 74 of file Transpose.h.
int Transpose< MatrixType >::cols | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 71 of file Transpose.h.
const PacketScalar Transpose< MatrixType >::packet | ( | int | index | ) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 107 of file Transpose.h.
const PacketScalar Transpose< MatrixType >::packet | ( | int | row, | |
int | col | |||
) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 95 of file Transpose.h.
int Transpose< MatrixType >::rows | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 70 of file Transpose.h.
int Transpose< MatrixType >::stride | ( | void | ) | const [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 72 of file Transpose.h.
void Transpose< MatrixType >::writePacket | ( | int | index, | |
const PacketScalar & | x | |||
) | [inline] |
Reimplemented from MatrixBase< Transpose< MatrixType > >.
Definition at line 113 of file Transpose.h.
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.
const MatrixType::Nested Transpose< MatrixType >::m_matrix [protected] |
Definition at line 119 of file Transpose.h.