itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
sim_mix.hpp
1 /*xxx
2 * \brief - SIM::mix - multipling two input mixer
3 * \author maki
4 */
5 
6 
7 #ifndef SIM_MIX_HPP
8 #define SIM_MIX_HPP
9 
10 #include <itpp/itbase.h>
11 
12 using namespace itpp;
13 using namespace std;
14 
15 namespace SIM
16 {
17 
22 class mix
23 {
24 public:
25  double y0;
26 
27  mix()
28  {
29  y0 = 0.0;
30  };
31 
32  ~mix()
33  {
34  };
35 
39  void set_output(double yout);
40 
44  double get_output(void);
45 
51  vec process(const bvec &ce, const mat &x);
52 };
53 
54 } // namespace SIM
55 #endif //SIM_MIX_HPP
56 
double y0
Definition: sim_mix.hpp:25
SIM layer implements low level simulation models with itpp base classes as operational types...
Definition: sim_amp.hpp:15
mix()
Definition: sim_mix.hpp:27
Definition: _sci_assert.cpp:35
~mix()
Definition: sim_mix.hpp:32
two input mixer Core function: SIM::mix.process()
Definition: sim_mix.hpp:22