MOAB  4.9.3pre
Eigen::ForceAlignedAccess< ExpressionType > Class Template Reference

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

#include <ForceAlignedAccess.h>

Inheritance diagram for Eigen::ForceAlignedAccess< ExpressionType >:
Collaboration diagram for Eigen::ForceAlignedAccess< ExpressionType >:

List of all members.

Public Types

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

Public Member Functions

EIGEN_DEVICE_FUNC ForceAlignedAccess (const ExpressionType &matrix)
EIGEN_DEVICE_FUNC Index rows () const
EIGEN_DEVICE_FUNC Index cols () const
EIGEN_DEVICE_FUNC Index outerStride () const
EIGEN_DEVICE_FUNC Index innerStride () const
EIGEN_DEVICE_FUNC const
CoeffReturnType 
coeff (Index row, Index col) const
EIGEN_DEVICE_FUNC Scalar & coeffRef (Index row, Index col)
EIGEN_DEVICE_FUNC const
CoeffReturnType 
coeff (Index index) const
EIGEN_DEVICE_FUNC 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)
EIGEN_DEVICE_FUNC operator const ExpressionType & () const

Protected Attributes

const ExpressionType & m_expression

Private Member Functions

ForceAlignedAccessoperator= (const ForceAlignedAccess &)

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()

Definition at line 34 of file ForceAlignedAccess.h.


Member Typedef Documentation

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

Definition at line 39 of file ForceAlignedAccess.h.


Constructor & Destructor Documentation

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Eigen::ForceAlignedAccess< ExpressionType >::ForceAlignedAccess ( const ExpressionType &  matrix) [inline, explicit]

Definition at line 42 of file ForceAlignedAccess.h.

: m_expression(matrix) {}

Member Function Documentation

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::ForceAlignedAccess< ExpressionType >::coeff ( Index  row,
Index  col 
) const [inline]

Definition at line 49 of file ForceAlignedAccess.h.

    {
      return m_expression.coeff(row, col);
    }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC const CoeffReturnType Eigen::ForceAlignedAccess< ExpressionType >::coeff ( Index  index) const [inline]

Definition at line 59 of file ForceAlignedAccess.h.

    {
      return m_expression.coeff(index);
    }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Scalar& Eigen::ForceAlignedAccess< ExpressionType >::coeffRef ( Index  row,
Index  col 
) [inline]

Definition at line 54 of file ForceAlignedAccess.h.

    {
      return m_expression.const_cast_derived().coeffRef(row, col);
    }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Scalar& Eigen::ForceAlignedAccess< ExpressionType >::coeffRef ( Index  index) [inline]

Definition at line 64 of file ForceAlignedAccess.h.

    {
      return m_expression.const_cast_derived().coeffRef(index);
    }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::cols ( void  ) const [inline]

Definition at line 45 of file ForceAlignedAccess.h.

{ return m_expression.cols(); }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::innerStride ( ) const [inline]

Definition at line 47 of file ForceAlignedAccess.h.

{ return m_expression.innerStride(); }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Eigen::ForceAlignedAccess< ExpressionType >::operator const ExpressionType & ( ) const [inline]

Definition at line 93 of file ForceAlignedAccess.h.

{ return m_expression; }
template<typename ExpressionType >
ForceAlignedAccess& Eigen::ForceAlignedAccess< ExpressionType >::operator= ( const ForceAlignedAccess< ExpressionType > &  ) [private]
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::outerStride ( ) const [inline]

Definition at line 46 of file ForceAlignedAccess.h.

{ return m_expression.outerStride(); }
template<typename ExpressionType >
template<int LoadMode>
const PacketScalar Eigen::ForceAlignedAccess< ExpressionType >::packet ( Index  row,
Index  col 
) const [inline]

Definition at line 70 of file ForceAlignedAccess.h.

    {
      return m_expression.template packet<Aligned>(row, col);
    }
template<typename ExpressionType >
template<int LoadMode>
const PacketScalar Eigen::ForceAlignedAccess< ExpressionType >::packet ( Index  index) const [inline]

Definition at line 82 of file ForceAlignedAccess.h.

    {
      return m_expression.template packet<Aligned>(index);
    }
template<typename ExpressionType >
EIGEN_DEVICE_FUNC Index Eigen::ForceAlignedAccess< ExpressionType >::rows ( void  ) const [inline]

Definition at line 44 of file ForceAlignedAccess.h.

{ return m_expression.rows(); }
template<typename ExpressionType >
template<int LoadMode>
void Eigen::ForceAlignedAccess< ExpressionType >::writePacket ( Index  row,
Index  col,
const PacketScalar &  x 
) [inline]

Definition at line 76 of file ForceAlignedAccess.h.

    {
      m_expression.const_cast_derived().template writePacket<Aligned>(row, col, x);
    }
template<typename ExpressionType >
template<int LoadMode>
void Eigen::ForceAlignedAccess< ExpressionType >::writePacket ( Index  index,
const PacketScalar &  x 
) [inline]

Definition at line 88 of file ForceAlignedAccess.h.

    {
      m_expression.const_cast_derived().template writePacket<Aligned>(index, x);
    }

Member Data Documentation

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

Definition at line 96 of file ForceAlignedAccess.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines