![]() |
|
#include <UnaryFunctors.h>
Inheritance diagram for Eigen::internal::core_cast_op< SrcType, DstType >:Additional Inherited Members | |
Public Types inherited from Eigen::internal::scalar_cast_op< SrcType, DstType > | |
| typedef DstType | result_type |
Public Member Functions inherited from Eigen::internal::scalar_cast_op< SrcType, DstType > | |
| 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