diff options
Diffstat (limited to 'src/iir_bp.h')
-rw-r--r-- | src/iir_bp.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/iir_bp.h b/src/iir_bp.h new file mode 100644 index 0000000..762c25c --- /dev/null +++ b/src/iir_bp.h @@ -0,0 +1,17 @@ +#ifndef IIR_BP_H +#define IIR_BP_H + +#include <vector> +#include <complex> + +typedef std::complex<double> C; + +std::vector<C> neg(const std::vector<C>& foo); +std::vector<C> expand_poly(const std::vector<C>& cvec); +std::vector<double> rxpoly(const std::vector<C>& foo); +std::vector<C> dpole_bwlp( int n, double fcf, double extraPole=0.); +std::vector<double> dcof_bwlp( int n, double fcf, double extraPole=0.); +std::vector<double> ccof_bwlp(const int n, const double extraZero=0.); +std::vector<C> croot_bwlp (int n, double extraZero=0.); + +#endif |