libsdr  0.1.0
A simple SDR library
Public Types | Static Public Attributes | List of all members
sdr::Traits< std::complex< int16_t > > Class Template Reference

Template specialization of type traits for complex int16_t scalar. More...

#include <traits.hh>

Public Types

typedef std::complex< int16_t > Scalar
 The scalar type. More...
 
typedef int16_t RScalar
 The real Scalar type. More...
 
typedef std::complex< int32_t > SScalar
 The compute scalar type. More...
 

Static Public Attributes

static const float scale
 The scaleing factor from floating point to integer. More...
 
static const size_t shift
 The scaleing factor from floating point to integer expressed as 2^exp. More...
 
static const Config::Type scalarId = Config::Type_cs16
 The type id of the scalar type. More...
 

Detailed Description

template<>
class sdr::Traits< std::complex< int16_t > >

Template specialization of type traits for complex int16_t scalar.

Member Typedef Documentation

typedef int16_t sdr::Traits< std::complex< int16_t > >::RScalar

The real Scalar type.

typedef std::complex<int16_t> sdr::Traits< std::complex< int16_t > >::Scalar

The scalar type.

typedef std::complex<int32_t> sdr::Traits< std::complex< int16_t > >::SScalar

The compute scalar type.

Member Data Documentation

const Config::Type sdr::Traits< std::complex< int16_t > >::scalarId = Config::Type_cs16
static

The type id of the scalar type.

const float sdr::Traits< std::complex< int16_t > >::scale
static

The scaleing factor from floating point to integer.

const size_t sdr::Traits< std::complex< int16_t > >::shift
static

The scaleing factor from floating point to integer expressed as 2^exp.


The documentation for this class was generated from the following file: