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