![]() |
|
#include <UnaryFunctors.h>
Additional Inherited Members | |
![]() | |
typedef DstType | result_type |
![]() | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const DstType | operator() (const SrcType &a) const |
core_cast_op
serves to distinguish the vectorized implementation from that of the legacy scalar_cast_op
for backwards compatibility. The manner in which packet ops are handled is defined by the specialized unary_evaluator: unary_evaluator<CwiseUnaryOp<core_cast_op<SrcType, DstType>, ArgType>, IndexBased>
in CoreEvaluators.h Otherwise, the non-vectorized behavior is identical to that of scalar_cast_op