tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
fma_expr_algebraic_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 algebra
12{
13 template <typename A, typename B, typename C,
14 template <typename, my_size_t, typename> class Op>
16 {
17 static constexpr bool vector_space =
19 static constexpr bool algebra =
21 static constexpr bool lie_group =
23 static constexpr bool metric =
25 static constexpr bool tensor =
27 };
28
29 template <typename EXPR, typename ScalarT, typename C,
30 template <typename, my_size_t, typename> class Op>
32 {
34 static constexpr bool algebra = is_algebra_v<EXPR> && is_algebra_v<C>;
35 static constexpr bool lie_group = false;
36 static constexpr bool metric = is_metric_v<EXPR> && is_metric_v<C>;
37 static constexpr bool tensor = is_tensor_v<EXPR> && is_tensor_v<C>;
38 };
39} // namespace algebra
Definition FmaExpr.h:16
Definition FmaExpr.h:103
Definition basic_algebraic_traits.h:4
constexpr bool is_vector_space_v
Definition basic_algebraic_traits.h:123
Definition basic_algebraic_traits.h:10
static constexpr bool lie_group
Definition basic_algebraic_traits.h:78
static constexpr bool vector_space
Definition basic_algebraic_traits.h:30
static constexpr bool tensor
Definition basic_algebraic_traits.h:116
static constexpr bool metric
Definition basic_algebraic_traits.h:96