itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sim_fir.hpp
1 /*xxx
2 * \brief - SIM::fir - derived from SPUC::fir
3 * \author maki
4 */
5 
6 #ifndef SIM_FIR_HPP
7 #define SIM_FIR_HPP
8 
9 #include "sim\spuc_fir.hpp"
10 
11 using namespace itpp;
12 using namespace std;
13 using namespace SPUC;
14 
16 namespace SIM
17 {
28 class fir : public SPUC::fir < double >
29 {
30 public:
31  double y0;
32 
33  fir()
34  {
35  y0 = 0.0;
36  } ;
37 
38  ~fir()
39  {
40 
41  };
42 
46  void set_state(const vec &v);
47 
51  void set_output(double yout);
52 
56  vec get_state(void);
57 
61  double get_output(void);
62 
68  vec process(const bvec &ce, const vec &x);
69 
70 };
71 
72 } // namespace SIM
73 #endif //SIM_FIR_HPP
74 
FIR filter Core function: SIM::fir.process() .
Definition: sim_fir.hpp:28
~fir()
Definition: sim_fir.hpp:38
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
Definition: spuc_fir.hpp:19
double y0
registered filter output, initialized to 0.0 by constructor
Definition: sim_fir.hpp:31
fir()
Definition: sim_fir.hpp:33
Definition: _sci_assert.cpp:35