7#include <stratax/core/dtypes/Types.hpp>
9namespace stratax::core::concept_detail {
11template<
typename T,
typename... Candidates>
13 (std::same_as<std::remove_cvref_t<T>, Candidates> || ...);
17 std::same_as<std::remove_cvref_t<T>, stratax::dtype::bool_>;
24 stratax::dtype::int16,
25 stratax::dtype::int32,
26 stratax::dtype::int64,
27 stratax::dtype::uint8,
28 stratax::dtype::uint16,
29 stratax::dtype::uint32,
30 stratax::dtype::uint64>;
36 stratax::dtype::float32,
37 stratax::dtype::float64,
38 stratax::dtype::longdouble>;
44 stratax::dtype::complex64,
45 stratax::dtype::complex128,
46 stratax::dtype::clongdouble>;
65namespace stratax::container {
98struct is_array<stratax::container::Vector<T>> : std::true_type {};
103struct is_array<stratax::container::Matrix<T>> : std::true_type {};
108struct is_array<stratax::container::Tensor<T>> : std::true_type {};
131 std::floating_point<std::remove_cvref_t<T>>;
Identifies supported Stratax owning array types.
Trait identifying supported Stratax owning array specializations.