18 template<
typename DstEvaluatorTypeT,
typename SrcEvaluatorTypeT>
26 using Base::m_functor;
34 : Base(dst, src, func, dstExpr)
37 template<
int StoreMode,
int LoadMode,
typename PacketType>
41 const_cast<SrcEvaluatorTypeT&
>(
m_src).
template writePacket<LoadMode>(row,col,
m_dst.template packet<StoreMode,PacketType>(row,col));
45 template<
int StoreMode,
int LoadMode,
typename PacketType>
49 const_cast<SrcEvaluatorTypeT&
>(
m_src).
template writePacket<LoadMode>(index,
m_dst.template packet<StoreMode,PacketType>(index));
50 m_dst.template writePacket<StoreMode>(index,tmp);
54 template<
int StoreMode,
int LoadMode,
typename PacketType>
57 Index row = Base::rowIndexByOuterInner(outer, inner);
58 Index col = Base::colIndexByOuterInner(outer, inner);
59 assignPacket<StoreMode,LoadMode,PacketType>(
row,
col);
67 #endif // EIGEN_SWAP_H void assignPacket(Index row, Index col)
const SrcEvaluatorType & m_src
DstEvaluatorType::Scalar Scalar
Base::DstXprType DstXprType
EIGEN_DEVICE_FUNC ColXpr col(Index i)
This is the const version of col().
void assignPacketByOuterInner(Index outer, Index inner)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
void assignPacket(Index index)
EIGEN_DEVICE_FUNC RowXpr row(Index i)
This is the const version of row(). */.
DstEvaluatorTypeT::XprType DstXprType
generic_dense_assignment_kernel< DstEvaluatorTypeT, SrcEvaluatorTypeT, swap_assign_op< typename DstEvaluatorTypeT::Scalar >, BuiltIn > Base
swap_assign_op< Scalar > Functor
EIGEN_DEVICE_FUNC generic_dense_assignment_kernel(DstEvaluatorTypeT &dst, const SrcEvaluatorTypeT &src, const Functor &func, DstXprType &dstExpr)