18 template<
typename DstEvaluatorTypeT,
typename SrcEvaluatorTypeT>
26 using Base::m_functor;
35 : Base(dst, src, func, dstExpr)
38 template<
int StoreMode,
int LoadMode,
typename PacketType>
42 const_cast<SrcEvaluatorTypeT&
>(
m_src).
template writePacket<LoadMode>(row,col,
m_dst.template packet<StoreMode,PacketType>(row,col));
46 template<
int StoreMode,
int LoadMode,
typename PacketType>
50 const_cast<SrcEvaluatorTypeT&
>(
m_src).
template writePacket<LoadMode>(index,
m_dst.template packet<StoreMode,PacketType>(index));
51 m_dst.template writePacket<StoreMode>(index,tmp);
55 template<
int StoreMode,
int LoadMode,
typename PacketType>
58 Index row = Base::rowIndexByOuterInner(outer, inner);
59 Index col = Base::colIndexByOuterInner(outer, inner);
60 assignPacket<StoreMode,LoadMode,PacketType>(
row,
col);
68 #endif // EIGEN_SWAP_H #define EIGEN_STRONG_INLINE
const SrcEvaluatorType & m_src
DstEvaluatorType::Scalar Scalar
Namespace containing all symbols from the Eigen library.
Base::DstXprType DstXprType
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
#define EIGEN_DEVICE_FUNC
DstEvaluatorTypeT::XprType DstXprType
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE generic_dense_assignment_kernel(DstEvaluatorTypeT &dst, const SrcEvaluatorTypeT &src, const Functor &func, DstXprType &dstExpr)
generic_dense_assignment_kernel< DstEvaluatorTypeT, SrcEvaluatorTypeT, swap_assign_op< typename DstEvaluatorTypeT::Scalar >, BuiltIn > Base
EIGEN_STRONG_INLINE void assignPacket(Index index)
EIGEN_STRONG_INLINE void assignPacketByOuterInner(Index outer, Index inner)
swap_assign_op< Scalar > Functor
Generic expression where a coefficient-wise unary operator is applied to an expression.
EIGEN_STRONG_INLINE void assignPacket(Index row, Index col)