25 #ifndef EIGEN_FORCEALIGNEDACCESS_H
26 #define EIGEN_FORCEALIGNEDACCESS_H
44 template<
typename ExpressionType>
45 struct traits<ForceAlignedAccess<ExpressionType> > :
public traits<ExpressionType>
50 :
public internal::dense_xpr_base< ForceAlignedAccess<ExpressionType> >::type
54 typedef typename internal::dense_xpr_base<ForceAlignedAccess>::type
Base;
64 inline const CoeffReturnType
coeff(Index
row, Index
col)
const
71 return m_expression.const_cast_derived().coeffRef(row, col);
74 inline const CoeffReturnType
coeff(Index index)
const
81 return m_expression.const_cast_derived().coeffRef(index);
84 template<
int LoadMode>
90 template<
int LoadMode>
96 template<
int LoadMode>
97 inline const PacketScalar
packet(Index index)
const
102 template<
int LoadMode>
105 m_expression.const_cast_derived().template writePacket<Aligned>(index, x);
120 template<
typename Derived>
130 template<
typename Derived>
140 template<
typename Derived>
141 template<
bool Enable>
142 inline typename internal::add_const_on_value_type<typename internal::conditional<Enable,ForceAlignedAccess<Derived>,Derived&>::type>::type
151 template<
typename Derived>
152 template<
bool Enable>
153 inline typename internal::conditional<Enable,ForceAlignedAccess<Derived>,Derived&>::type
161 #endif // EIGEN_FORCEALIGNEDACCESS_H