9 #ifndef BLACKCAT_BLACKCAT_COMMON_H_ 10 #define BLACKCAT_BLACKCAT_COMMON_H_ 12 #include <type_traits> 25 template<
class ExpressionTemplate>
28 template<
class ExpressionTemplate>
33 ::is_expression_template::value,
34 "Make Tensor can only be used with Expression_Template");
38 template<
class ExpressionTemplate>
41 template<
class ExpressionTemplate>
45 ::is_expression_template::value,
46 "Make Tensor can only be used with Expression_Template");
Definition: constexpr_int.h:14
auto make_expression(ExpressionTemplate expression)
Definition: common.h:42
static constexpr int tensor_dim
Definition: common.h:22
Definition: expression_template_traits.h:76
auto make_tensor(ExpressionTemplate expression)
Definition: common.h:29
The Evaluator determines if an expression needs to be greedily optimized.
Definition: algorithms.h:22