#include <math.h>
#include <stdint.h>
Go to the source code of this file.
|
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 > |
T | leansdr::dotprod (const T *u, const T *v, int n) |
|
template<typename T > |
T | leansdr::cnorm2 (const complex< T > &u) |
|
template<typename T > |
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) |
|