Public Types | Public Member Functions | Protected Attributes

ForceAlignedAccess< ExpressionType > Class Template Reference

Enforce aligned packet loads and stores regardless of what is requested. More...

#include <ForceAlignedAccess.h>

List of all members.

Public Types

typedef
internal::dense_xpr_base
< ForceAlignedAccess >::type 
Base

Public Member Functions

 ForceAlignedAccess (const ExpressionType &matrix)
Index rows () const
Index cols () const
Index outerStride () const
Index innerStride () const
const CoeffReturnType coeff (Index row, Index col) const
Scalar & coeffRef (Index row, Index col)
const CoeffReturnType coeff (Index index) const
Scalar & coeffRef (Index index)
template<int LoadMode>
const PacketScalar packet (Index row, Index col) const
template<int LoadMode>
void writePacket (Index row, Index col, const PacketScalar &x)
template<int LoadMode>
const PacketScalar packet (Index index) const
template<int LoadMode>
void writePacket (Index index, const PacketScalar &x)
 operator const ExpressionType & () const

Protected Attributes

const ExpressionType & m_expression

Detailed Description

template<typename ExpressionType>
class ForceAlignedAccess< ExpressionType >

Enforce aligned packet loads and stores regardless of what is requested.

Parameters:
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.

See also:
MatrixBase::forceAlignedAccess()

Member Typedef Documentation

template<typename ExpressionType>
typedef internal::dense_xpr_base<ForceAlignedAccess>::type ForceAlignedAccess< ExpressionType >::Base

Constructor & Destructor Documentation

template<typename ExpressionType>
ForceAlignedAccess< ExpressionType >::ForceAlignedAccess ( const ExpressionType &  matrix  )  [inline]

Member Function Documentation

template<typename ExpressionType>
const CoeffReturnType ForceAlignedAccess< ExpressionType >::coeff ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType>
const CoeffReturnType ForceAlignedAccess< ExpressionType >::coeff ( Index  index  )  const [inline]
template<typename ExpressionType>
Scalar& ForceAlignedAccess< ExpressionType >::coeffRef ( Index  index  )  [inline]
template<typename ExpressionType>
Scalar& ForceAlignedAccess< ExpressionType >::coeffRef ( Index  row,
Index  col 
) [inline]
template<typename ExpressionType>
Index ForceAlignedAccess< ExpressionType >::cols ( void   )  const [inline]
template<typename ExpressionType>
Index ForceAlignedAccess< ExpressionType >::innerStride (  )  const [inline]
template<typename ExpressionType>
ForceAlignedAccess< ExpressionType >::operator const ExpressionType & (  )  const [inline]
template<typename ExpressionType>
Index ForceAlignedAccess< ExpressionType >::outerStride (  )  const [inline]
template<typename ExpressionType>
template<int LoadMode>
const PacketScalar ForceAlignedAccess< ExpressionType >::packet ( Index  row,
Index  col 
) const [inline]
template<typename ExpressionType>
template<int LoadMode>
const PacketScalar ForceAlignedAccess< ExpressionType >::packet ( Index  index  )  const [inline]
template<typename ExpressionType>
Index ForceAlignedAccess< ExpressionType >::rows ( void   )  const [inline]
template<typename ExpressionType>
template<int LoadMode>
void ForceAlignedAccess< ExpressionType >::writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
) [inline]
template<typename ExpressionType>
template<int LoadMode>
void ForceAlignedAccess< ExpressionType >::writePacket ( Index  index,
const PacketScalar &  x 
) [inline]

Member Data Documentation

template<typename ExpressionType>
const ExpressionType& ForceAlignedAccess< ExpressionType >::m_expression [protected]

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