#ifndef EIGEN_CXX11_TENSOR_TENSOR_CUSTOM_OP_H
#define EIGEN_CXX11_TENSOR_TENSOR_CUSTOM_OP_H
#include "./InternalHeaderCheck.h"
namespace Eigen {
namespace internal {
traits<TensorCustomUnaryOp<CustomUnaryFunc, XprType>>;
eval<TensorCustomUnaryOp<CustomUnaryFunc, XprType>, Eigen::Dense>;
nested<TensorCustomUnaryOp<CustomUnaryFunc, XprType>>;
}
template <typename CustomUnaryFunc, typename XprType>
class TensorCustomUnaryOp : public TensorBase<TensorCustomUnaryOp<CustomUnaryFunc, XprType>, ReadOnlyAccessors> { … };
TensorEvaluator<const TensorCustomUnaryOp<CustomUnaryFunc, XprType>, Device>;
namespace internal {
traits<TensorCustomBinaryOp<CustomBinaryFunc, LhsXprType, RhsXprType>>;
eval<TensorCustomBinaryOp<CustomBinaryFunc, LhsXprType, RhsXprType>, Eigen::Dense>;
nested<TensorCustomBinaryOp<CustomBinaryFunc, LhsXprType, RhsXprType>>;
}
template <typename CustomBinaryFunc, typename LhsXprType, typename RhsXprType>
class TensorCustomBinaryOp
: public TensorBase<TensorCustomBinaryOp<CustomBinaryFunc, LhsXprType, RhsXprType>, ReadOnlyAccessors> { … };
TensorEvaluator<const TensorCustomBinaryOp<CustomBinaryFunc, LhsXprType, RhsXprType>, Device>;
}
#endif