Enforce aligned packet loads and stores regardless of what is requested. More...
#include <ForceAlignedAccess.h>
Inherits type< ForceAlignedAccess< ExpressionType > >.
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 |
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.
typedef internal::dense_xpr_base<ForceAlignedAccess>::type Base |
ForceAlignedAccess | ( | const ExpressionType & | matrix | ) | [inline] |
const CoeffReturnType coeff | ( | Index | row, |
Index | col | ||
) | const [inline] |
const CoeffReturnType coeff | ( | Index | index | ) | const [inline] |
Scalar& coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
Scalar& coeffRef | ( | Index | index | ) | [inline] |
Index cols | ( | void | ) | const [inline] |
Index innerStride | ( | ) | const [inline] |
operator const ExpressionType & | ( | ) | const [inline] |
Index outerStride | ( | ) | const [inline] |
const PacketScalar packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
References col(), ForceAlignedAccess< ExpressionType >::m_expression, and row().
const PacketScalar packet | ( | Index | index | ) | const [inline] |
Index rows | ( | void | ) | const [inline] |
void writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
References col(), ForceAlignedAccess< ExpressionType >::m_expression, and row().
void writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
const ExpressionType& m_expression [protected] |
Referenced by ForceAlignedAccess< ExpressionType >::coeff(), ForceAlignedAccess< ExpressionType >::coeffRef(), ForceAlignedAccess< ExpressionType >::cols(), ForceAlignedAccess< ExpressionType >::innerStride(), ForceAlignedAccess< ExpressionType >::operator const ExpressionType &(), ForceAlignedAccess< ExpressionType >::outerStride(), ForceAlignedAccess< ExpressionType >::packet(), ForceAlignedAccess< ExpressionType >::rows(), and ForceAlignedAccess< ExpressionType >::writePacket().