CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches

Namespaces

namespace  inner
 

Data Structures

struct  number_traits< Q15 >
 Q15 features. More...
 
struct  vector_traits< Q15, arch, typename std::enable_if<!std::is_base_of< Helium, arch >::value &&!std::is_base_of< Neon, arch >::value &&!std::is_base_of< DSP, arch >::value >::type >
 Vector features for Q15 when no vector architecture. More...
 

Description


Data Structure Documentation

◆ number_traits< Q15 >

struct number_traits< Q15 >

Q15 features.

Public Types

typedef Q< 33, 30 > accumulator
 Accumulator datatype.
 
typedef Q15 compute_type
 Compute type.
 

Static Public Member Functions

static constexpr Q15 one ()
 One value.
 

Static Public Attributes

static constexpr bool is_float = false
 Is not float.
 
static constexpr bool is_fixed = true
 Is fixed point.
 

Member Function Documentation

◆ one()

static constexpr Q15 one ( )
inlinestaticconstexpr

One value.

Returns
One value in Q15

◆ vector_traits< Q15, arch, typename std::enable_if<!std::is_base_of< Helium, arch >::value &&!std::is_base_of< Neon, arch >::value &&!std::is_base_of< DSP, arch >::value >::type >

struct vector_traits< Q15, arch, typename std::enable_if<!std::is_base_of< Helium, arch >::value &&!std::is_base_of< Neon, arch >::value &&!std::is_base_of< DSP, arch >::value >::type >
template<typename arch>
struct vector_traits< Q15, arch, typename std::enable_if<!std::is_base_of< Helium, arch >::value &&!std::is_base_of< Neon, arch >::value &&!std::is_base_of< DSP, arch >::value >::type >

Vector features for Q15 when no vector architecture.

Template Parameters
archCurrent architecture

Public Types

typedef Q15 type
 Compute type.
 
typedef type::value_type storage_type
 Storage datatype (int16_t)
 
typedef bool vector
 Dummy type when no vector instructions.
 
typedef bool temp_accumulator
 Dummy type when no vector instructions.
 
typedef uint32_t predicate_t
 Dummy type when no vector instructions.
 

Static Public Attributes

static constexpr bool has_vector = false
 Has no vector instructions.
 
static constexpr bool is_float = false
 Is not float.
 
static constexpr bool is_fixed = true
 Is fixed point.
 
static constexpr bool has_predicate = false
 Has no predicated loop.