#include <gr_remez.h>
#include <cmath>
#include <assert.h>
#include <iostream>
#include <vector>
Defines | |
| #define | LOCAL_BUFFER(T, buf, size) |
| #define | CONST const |
| #define | BANDPASS 1 |
| #define | DIFFERENTIATOR 2 |
| #define | HILBERT 3 |
| #define | NEGATIVE 0 |
| #define | POSITIVE 1 |
| #define | Pi 3.14159265358979323846 |
| #define | Pi2 (2*Pi) |
| #define | GRIDDENSITY 16 |
| #define | MAXITERATIONS 40 |
Functions | |
| std::vector< double > | gr_remez (int order, const std::vector< double > &arg_bands, const std::vector< double > &arg_response, const std::vector< double > &arg_weight, const std::string filter_type, int grid_density) throw (std::runtime_error) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: std::vector<T> buf ## _vector (size); \ T *buf = &(buf ## _vector[0]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||
|
|
1.4.6