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.
Typedefs | Functions
complex.h File Reference
#include <cmath>
#include <complex>
+ Include dependency graph for complex.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef std::complex< float > cmplx
 

Functions

cmplx cmac (const cmplx *a, const cmplx *b, int ptr, int len)
 

Typedef Documentation

◆ cmplx

typedef std::complex<float> cmplx

Definition at line 31 of file complex.h.

Function Documentation

◆ cmac()

cmplx cmac ( const cmplx a,
const cmplx b,
int  ptr,
int  len 
)
inline

Definition at line 33 of file complex.h.

References i.

33  {
34  cmplx z;
35  ptr %= len;
36  for (int i = 0; i < len; i++) {
37  z += a[i] * b[ptr];
38  ptr = (ptr + 1) % len;
39  }
40  return z;
41 }
std::complex< float > cmplx
Definition: complex.h:31
int32_t i
Definition: decimators.h:244