Enforce aligned packet loads and stores regardless of what is requested. More...
#include <ForceAlignedAccess.h>
Public Types | |
typedef internal::dense_xpr_base < ForceAlignedAccess >::type | Base |
Public Member Functions | |
const CoeffReturnType | coeff (Index row, Index col) const |
const CoeffReturnType | coeff (Index index) const |
Scalar & | coeffRef (Index row, Index col) |
Scalar & | coeffRef (Index index) |
Index | cols () const |
ForceAlignedAccess (const ExpressionType &matrix) | |
Index | innerStride () const |
operator const ExpressionType & () const | |
Index | outerStride () const |
template<int LoadMode> | |
const PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
const PacketScalar | packet (Index index) const |
Index | rows () const |
template<int LoadMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int LoadMode> | |
void | writePacket (Index index, const PacketScalar &x) |
Protected Attributes | |
const ExpressionType & | m_expression |
Private Member Functions | |
ForceAlignedAccess & | operator= (const ForceAlignedAccess &) |
Enforce aligned packet loads and stores regardless of what is requested.
ExpressionType | the type of the object of which we are forcing aligned packet access |
This class is the return type of MatrixBase::forceAlignedAccess() and most of the time this is the only way it is used.
Definition at line 47 of file ForceAlignedAccess.h.
typedef internal::dense_xpr_base<ForceAlignedAccess>::type ForceAlignedAccess< ExpressionType >::Base |
Definition at line 52 of file ForceAlignedAccess.h.
ForceAlignedAccess< ExpressionType >::ForceAlignedAccess | ( | const ExpressionType & | matrix | ) | [inline] |
Definition at line 55 of file ForceAlignedAccess.h.
const CoeffReturnType ForceAlignedAccess< ExpressionType >::coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 62 of file ForceAlignedAccess.h.
const CoeffReturnType ForceAlignedAccess< ExpressionType >::coeff | ( | Index | index | ) | const [inline] |
Definition at line 72 of file ForceAlignedAccess.h.
Scalar& ForceAlignedAccess< ExpressionType >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Definition at line 67 of file ForceAlignedAccess.h.
Scalar& ForceAlignedAccess< ExpressionType >::coeffRef | ( | Index | index | ) | [inline] |
Definition at line 77 of file ForceAlignedAccess.h.
Index ForceAlignedAccess< ExpressionType >::cols | ( | void | ) | const [inline] |
Definition at line 58 of file ForceAlignedAccess.h.
Index ForceAlignedAccess< ExpressionType >::innerStride | ( | ) | const [inline] |
Definition at line 60 of file ForceAlignedAccess.h.
ForceAlignedAccess< ExpressionType >::operator const ExpressionType & | ( | ) | const [inline] |
Definition at line 106 of file ForceAlignedAccess.h.
ForceAlignedAccess& ForceAlignedAccess< ExpressionType >::operator= | ( | const ForceAlignedAccess< ExpressionType > & | ) | [private] |
Index ForceAlignedAccess< ExpressionType >::outerStride | ( | ) | const [inline] |
Definition at line 59 of file ForceAlignedAccess.h.
const PacketScalar ForceAlignedAccess< ExpressionType >::packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
Definition at line 83 of file ForceAlignedAccess.h.
const PacketScalar ForceAlignedAccess< ExpressionType >::packet | ( | Index | index | ) | const [inline] |
Definition at line 95 of file ForceAlignedAccess.h.
Index ForceAlignedAccess< ExpressionType >::rows | ( | void | ) | const [inline] |
Definition at line 57 of file ForceAlignedAccess.h.
void ForceAlignedAccess< ExpressionType >::writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
Definition at line 89 of file ForceAlignedAccess.h.
void ForceAlignedAccess< ExpressionType >::writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
Definition at line 101 of file ForceAlignedAccess.h.
const ExpressionType& ForceAlignedAccess< ExpressionType >::m_expression [protected] |
Definition at line 109 of file ForceAlignedAccess.h.