gpa in double prescision

Dependencies:   mbed

Committer:
pmic
Date:
Tue Apr 10 12:25:03 2018 +0000
Revision:
28:c71b6856652e
Parent:
19:44760408b75e
correct new functinality

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rtlabor 0:15be70d21d7c 1 class IIR_filter{
rtlabor 0:15be70d21d7c 2 public:
pmic 7:b3c5116e9fab 3
pmic 19:44760408b75e 4 IIR_filter(float T, float Ts);
pmic 19:44760408b75e 5 IIR_filter(float T, float Ts, float K);
pmic 19:44760408b75e 6 IIR_filter(float w0, float D, float Ts, float K);
pmic 19:44760408b75e 7 IIR_filter(float *b, float *a, int nb_, int na_);
pmic 7:b3c5116e9fab 8
rtlabor 0:15be70d21d7c 9 float operator()(float u){
pmic 19:44760408b75e 10 return filter((double)u);
rtlabor 0:15be70d21d7c 11 }
rtlabor 0:15be70d21d7c 12 virtual ~IIR_filter();
rtlabor 0:15be70d21d7c 13 void reset(float);
pmic 19:44760408b75e 14 float filter(double);
rtlabor 0:15be70d21d7c 15
rtlabor 0:15be70d21d7c 16 private:
pmic 12:e54941459353 17
rtlabor 0:15be70d21d7c 18 unsigned int nb;
rtlabor 0:15be70d21d7c 19 unsigned int na;
pmic 19:44760408b75e 20 double *B;
pmic 19:44760408b75e 21 double *A;
pmic 19:44760408b75e 22 double *uk;
pmic 19:44760408b75e 23 double *yk;
pmic 19:44760408b75e 24 double K;
rtlabor 0:15be70d21d7c 25 };