10 #ifndef EIGEN_FORCEALIGNEDACCESS_H 11 #define EIGEN_FORCEALIGNEDACCESS_H 29 template<
typename ExpressionType>
55 return m_expression.coeff(row, col);
60 return m_expression.const_cast_derived().coeffRef(row, col);
65 return m_expression.coeff(index);
70 return m_expression.const_cast_derived().coeffRef(index);
73 template<
int LoadMode>
76 return m_expression.template packet<Aligned>(
row,
col);
79 template<
int LoadMode>
82 m_expression.const_cast_derived().template writePacket<Aligned>(
row,
col,
x);
85 template<
int LoadMode>
88 return m_expression.template packet<Aligned>(index);
91 template<
int LoadMode>
94 m_expression.const_cast_derived().template writePacket<Aligned>(index,
x);
109 template<
typename Derived>
119 template<
typename Derived>
129 template<
typename Derived>
130 template<
bool Enable>
140 template<
typename Derived>
141 template<
bool Enable>
150 #endif // EIGEN_FORCEALIGNEDACCESS_H
void writePacket(Index index, const PacketScalar &x)
EIGEN_DEVICE_FUNC Scalar & coeffRef(Index row, Index col)
Enforce aligned packet loads and stores regardless of what is requested.
internal::dense_xpr_base< ForceAlignedAccess >::type Base
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerStride() const EIGEN_NOEXCEPT
void writePacket(Index row, Index col, const PacketScalar &x)
const Derived & forceAlignedAccessIf() const
const Derived & forceAlignedAccess() const
EIGEN_DEVICE_FUNC const CoeffReturnType coeff(Index index) const
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerStride() const EIGEN_NOEXCEPT
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC Scalar & coeffRef(Index index)
const PacketScalar packet(Index row, Index col) const
#define EIGEN_DEVICE_FUNC
const ExpressionType & m_expression
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
EIGEN_DEVICE_FUNC const CoeffReturnType coeff(Index row, Index col) const
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Map< Matrix< T, Dynamic, Dynamic, ColMajor >, 0, OuterStride<> > matrix(T *data, int rows, int cols, int stride)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
const PacketScalar packet(Index index) const