5#include "numerical_type.hpp"
6#include "fixed_width_float.hpp"
26 : std::integral_constant<numerical_type, numerical_type::boolean>
32 : std::integral_constant<numerical_type, numerical_type::char8>
38 : std::integral_constant<numerical_type, numerical_type::int8>
44 : std::integral_constant<numerical_type, numerical_type::uint8>
50 : std::integral_constant<numerical_type, numerical_type::int16>
56 : std::integral_constant<numerical_type, numerical_type::uint16>
62 : std::integral_constant<numerical_type, numerical_type::int32>
68 : std::integral_constant<numerical_type, numerical_type::uint32>
74 : std::integral_constant<numerical_type, numerical_type::int64>
80 : std::integral_constant<numerical_type, numerical_type::uint64>
86 : std::integral_constant<numerical_type, numerical_type::float16>
92 : std::integral_constant<numerical_type, numerical_type::float32>
98 : std::integral_constant<numerical_type, numerical_type::float64>
104 : std::integral_constant<numerical_type, numerical_type::complex_float16>
110 : std::integral_constant<numerical_type, numerical_type::complex_float32>
116 : std::integral_constant<numerical_type, numerical_type::complex_float64>
140template <numerical_type Type>
158 using type = std::int8_t;
164 using type = std::uint8_t;
170 using type = std::int16_t;
176 using type = std::uint16_t;
182 using type = std::int32_t;
188 using type = std::uint32_t;
194 using type = std::int64_t;
200 using type = std::uint64_t;
224 using type = std::complex<float16_t>;
230 using type = std::complex<float32_t>;
236 using type = std::complex<float64_t>;
Container for multidimensional numeric data.
Definition array.hpp:31
16 bit floating point number representation.
Definition fixed_width_float.hpp:22
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
numerical_type
Representation of all considered numerical types for computations.
Definition numerical_type.hpp:19
double float64_t
64 bit floating point number representation.
Definition fixed_width_float.hpp:56
float float32_t
32 bit floating point number representation.
Definition fixed_width_float.hpp:50
Convert numerical_type-s to static types.
Definition numerical_type_traits.hpp:141
Convert static types to numerical_type.
Definition numerical_type_traits.hpp:22