Content | |
DSP extension specific number definitions | |
Helium specific number definitions | |
Scalar number definitions | |
Data Structures | |
struct | number_traits< T > |
Properties of a scalar datatype. More... | |
struct | vector_traits< T, arch, typename > |
Properties of a vector datatype linked to a scalar datatype. More... | |
struct | vctpq< T, typename > |
Predicate (only defined for vector architectures) More... | |
Number datatypes expressing different properties of the numbers according to the architecture.
Those definitions are used to write architecture independents algorithms.
struct arm_cmsis_dsp::number_traits |
Properties of a scalar datatype.
T | datatype |
Needs to contain two static bool : is_float and is_fixed
Needs to contain a static function one
returning the value 1 for this datatype (used to write some datatype generic algorithms)
struct arm_cmsis_dsp::vector_traits |
Properties of a vector datatype linked to a scalar datatype.
T | Type of the scalar |
arch | Architecture. It is defined by the architecture selection code and should never be set by the user. |
Public Types | |
typedef T | type |
Scalar datatype. | |
typedef T | storage_type |
Storage type (for instance for Q15 scalar the storage is int16_t) | |
Static Public Attributes | |
static constexpr bool | has_vector = false |
True if scalar type has a related vector type. | |
static constexpr bool | is_float = false |
True if scalar type is a float (half, float or double) | |
static constexpr bool | is_fixed = false |
True if scalar type is fixed point. | |
struct arm_cmsis_dsp::inner::vctpq |
Predicate (only defined for vector architectures)
T | scalar data type |
v | Number of loops |