SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Classes | Namespaces | Functions
math.h File Reference
#include <math.h>
#include <stdint.h>
+ Include dependency graph for math.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  leansdr::complex< T >
 
struct  leansdr::trig16
 

Namespaces

 leansdr
 

Functions

template<typename T >
complex< T > leansdr::operator+ (const complex< T > &a, const complex< T > &b)
 
template<typename T >
complex< T > leansdr::operator* (const complex< T > &a, const complex< T > &b)
 
template<typename T >
complex< T > leansdr::operator* (const complex< T > &a, const T &k)
 
template<typename T >
complex< T > leansdr::operator* (const T &k, const complex< T > &a)
 
template<typename T >
leansdr::dotprod (const T *u, const T *v, int n)
 
template<typename T >
leansdr::cnorm2 (const complex< T > &u)
 
template<typename T >
leansdr::cnorm2 (const complex< T > *p, int n)
 
template<typename T >
complex< T > leansdr::conjprod (const complex< T > &u, const complex< T > &v)
 
template<typename T >
complex< T > leansdr::conjprod (const complex< T > *u, const complex< T > *v, int n)
 
int leansdr::hamming_weight (uint8_t x)
 
int leansdr::hamming_weight (uint16_t x)
 
int leansdr::hamming_weight (uint32_t x)
 
int leansdr::hamming_weight (uint64_t x)
 
unsigned char leansdr::parity (uint8_t x)
 
unsigned char leansdr::parity (uint16_t x)
 
unsigned char leansdr::parity (uint32_t x)
 
unsigned char leansdr::parity (uint64_t x)
 
int leansdr::log2i (uint64_t x)