SwapWrapper< ExpressionType > Class Template Reference
#include <Swap.h>
List of all members.
Public Types |
typedef ei_packet_traits
< Scalar >::type | Packet |
Public Member Functions |
Scalar & | coeffRef (int index) |
Scalar & | coeffRef (int row, int col) |
int | cols () const |
template<typename OtherDerived > |
void | copyCoeff (int index, const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived > |
void | copyCoeff (int row, int col, const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived , int StoreMode, int LoadMode> |
void | copyPacket (int index, const MatrixBase< OtherDerived > &other) |
template<typename OtherDerived , int StoreMode, int LoadMode> |
void | copyPacket (int row, int col, const MatrixBase< OtherDerived > &other) |
int | rows () const |
int | stride () const |
| SwapWrapper (ExpressionType &xpr) |
Protected Attributes |
ExpressionType & | m_expression |
Private Member Functions |
SwapWrapper & | operator= (const SwapWrapper &) |
Detailed Description
template<typename ExpressionType>
class SwapWrapper< ExpressionType >
Definition at line 48 of file Swap.h.
Member Typedef Documentation
template<typename ExpressionType >
Constructor & Destructor Documentation
template<typename ExpressionType >
Member Function Documentation
template<typename ExpressionType >
template<typename ExpressionType >
template<typename ExpressionType >
int SwapWrapper< ExpressionType >::cols |
( |
void |
|
) |
const [inline] |
template<typename ExpressionType >
template<typename OtherDerived >
void SwapWrapper< ExpressionType >::copyCoeff |
( |
int |
index, |
|
|
const MatrixBase< OtherDerived > & |
other | |
|
) |
| | [inline] |
template<typename ExpressionType >
template<typename OtherDerived >
void SwapWrapper< ExpressionType >::copyCoeff |
( |
int |
row, |
|
|
int |
col, |
|
|
const MatrixBase< OtherDerived > & |
other | |
|
) |
| | [inline] |
template<typename ExpressionType >
template<typename OtherDerived , int StoreMode, int LoadMode>
void SwapWrapper< ExpressionType >::copyPacket |
( |
int |
index, |
|
|
const MatrixBase< OtherDerived > & |
other | |
|
) |
| | [inline] |
template<typename ExpressionType >
template<typename OtherDerived , int StoreMode, int LoadMode>
void SwapWrapper< ExpressionType >::copyPacket |
( |
int |
row, |
|
|
int |
col, |
|
|
const MatrixBase< OtherDerived > & |
other | |
|
) |
| | [inline] |
template<typename ExpressionType >
template<typename ExpressionType >
int SwapWrapper< ExpressionType >::rows |
( |
void |
|
) |
const [inline] |
template<typename ExpressionType >
int SwapWrapper< ExpressionType >::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< SwapWrapper< ExpressionType > >.
Definition at line 60 of file Swap.h.
Member Data Documentation
template<typename ExpressionType >
The documentation for this class was generated from the following file: