5#ifndef INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_LINALG_MATH_TRAITS_HPP_
6#define INCLUDE_GUARD_ARENE_BASE_ARENE_BASE_LINALG_MATH_TRAITS_HPP_
11#include "arene/base/constraints/constraints.hpp"
12#include "arene/base/linalg/object_traits.hpp"
13#include "arene/base/stdlib_choice/enable_if.hpp"
19namespace math_traits_impl {
23template <
typename T,
typename = arene::base::constraints<>>
24class default_math_traits {};
29class default_math_traits<T, arene::base::constraints<std::enable_if_t<is_in_object_v<T>>>> {
32 using element_type =
typename T::element_type;
34 using value_type =
typename T::value_type;
36 using reference =
typename T::reference;
38 using index_type =
typename T::index_type;
40 using size_type =
typename T::size_type;
42 using layout_type =
typename T::layout_type;
44 using rank_type =
typename T::rank_type;
46 using extents_type =
typename T::extents_type;
48 using accessor_type =
typename T::accessor_type;
A traits struct allowing SFINAE-friendly access to the properties of types which may be linalg object...
Definition math_traits.hpp:56
Definition math_traits.hpp:17
Definition array_exceptions_disabled.cpp:11
Copyright 2026, Toyota Motor Corporation.
Definition array_exceptions_disabled.cpp:10