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

Template specialization of type traits for float scalar. More...

#include <traits.hh>

Public Types

typedef double Scalar
 The scalar type. More...
 
typedef double RScalar
 The real scalar type. More...
 
typedef double 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_f64
 The type id of the scalar type. More...
 

Detailed Description

template<>
class sdr::Traits< double >

Template specialization of type traits for float scalar.

Member Typedef Documentation

typedef double sdr::Traits< double >::RScalar

The real scalar type.

typedef double sdr::Traits< double >::Scalar

The scalar type.

typedef double sdr::Traits< double >::SScalar

The compute scalar type.

Member Data Documentation

const Config::Type sdr::Traits< double >::scalarId = Config::Type_f64
static

The type id of the scalar type.

const float sdr::Traits< double >::scale
static

The scaleing factor from floating point to integer.

const size_t sdr::Traits< double >::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: