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>

Inherits type< ForceAlignedAccess< ExpressionType > >.

List of all members.

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

Detailed Description

template<typename ExpressionType>
class Eigen::ForceAlignedAccess< ExpressionType >

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

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

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

Constructor & Destructor Documentation

ForceAlignedAccess ( const ExpressionType &  matrix)
inline

Member Function Documentation

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
const PacketScalar packet ( Index  index) const
inline
Index rows ( void  ) const
inline
void writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
)
inline
void writePacket ( Index  index,
const PacketScalar &  x 
)
inline

Member Data Documentation

const ExpressionType& m_expression
protected

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