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.
filtergen.cpp
Go to the documentation of this file.
1 
2 #include <stdio.h>
3 
4 #include "filtergen.h"
5 
6 namespace leansdr
7 {
8 namespace filtergen
9 {
10 
11 void dump_filter(const char *name, int ncoeffs, float *coeffs)
12 {
13  fprintf(stderr, "%s = [", name);
14  for (int i = 0; i < ncoeffs; ++i)
15  fprintf(stderr, "%s %f", (i ? "," : ""), coeffs[i]);
16  fprintf(stderr, " ];\n");
17 }
18 
19 } // filtergen
20 } // leansdr
void dump_filter(const char *name, int ncoeffs, float *coeffs)
Definition: filtergen.cpp:11
int32_t i
Definition: decimators.h:244