From 9852b855db2a65ea6eb5e877411634820214ddf0 Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 16 Mar 2024 11:21:23 -0700 Subject: initial setup --- src/iir_bp.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/iir_bp.h (limited to 'src/iir_bp.h') 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 +#include + +typedef std::complex C; + +std::vector neg(const std::vector& foo); +std::vector expand_poly(const std::vector& cvec); +std::vector rxpoly(const std::vector& foo); +std::vector dpole_bwlp( int n, double fcf, double extraPole=0.); +std::vector dcof_bwlp( int n, double fcf, double extraPole=0.); +std::vector ccof_bwlp(const int n, const double extraZero=0.); +std::vector croot_bwlp (int n, double extraZero=0.); + +#endif -- cgit v1.2.3