tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
scalar_expr_traits.h
Go to the documentation of this file.
1#pragma once
2
3template <typename EXPR,
4 typename ScalarT,
5 template <typename, my_size_t, typename> class Op>
6class ScalarExprRHS;
7
8template <typename EXPR,
9 typename ScalarT,
10 template <typename, my_size_t, typename> class Op>
11class ScalarExprLHS;
12
13namespace expression
14{
15 template <typename EXPR,
16 typename ScalarT,
17 template <typename, my_size_t, typename> class Op>
18 struct traits<ScalarExprRHS<EXPR, ScalarT, Op>>
19 {
20 static constexpr bool IsPermuted = traits<EXPR>::IsPermuted;
21 static constexpr bool IsContiguous = traits<EXPR>::IsContiguous;
22 static constexpr bool IsPhysical = false;
23 };
24
25 template <typename EXPR,
26 typename ScalarT,
27 template <typename, my_size_t, typename> class Op>
28 struct traits<ScalarExprLHS<EXPR, ScalarT, Op>>
29 {
30 static constexpr bool IsPermuted = traits<EXPR>::IsPermuted;
31 static constexpr bool IsContiguous = traits<EXPR>::IsContiguous;
32 static constexpr bool IsPhysical = false;
33 };
34} // namespace expression
Definition ScalarExpr.h:95
Definition ScalarExpr.h:14
Definition basic_expr_traits.h:4
Definition basic_expr_traits.h:6