9#include <basix/mdspan.hpp>
21struct is_custom_scalar : std::false_type
26concept scalar = std::floating_point<T>
27 || std::is_same_v<T, std::complex<typename T::value_type>>
28 || is_custom_scalar<T>::value;
32template <scalar T,
typename =
void>
41struct scalar_value<T, std::void_t<typename T::value_type>>
43 typedef typename T::value_type type;
48using scalar_value_t =
typename scalar_value<T>::type;
51namespace md = MDSPAN_IMPL_STANDARD_NAMESPACE;
Top-level namespace.
Definition defines.h:12