13 @field alpha filter coefficient [0,1]
14 @field output filter output
17 #if defined(__cplusplus)
19 #endif /* __cplusplus */
22 constructor for Low Pass Filter
23 @tparam number fc cut-off frequency unit(hz)
24 @tparam number ts sampling time unit(s)
25 @treturn a.lpf Low Pass Filter userdata
28 int liba_lpf_new(lua_State
*L
);
31 generate for Low Pass Filter
32 @tparam number fc cut-off frequency unit(hz)
33 @tparam number ts sampling time unit(s)
34 @treturn a.lpf Low Pass Filter userdata
37 int liba_lpf_gen(lua_State
*L
);
40 calculate for Low Pass Filter
41 @tparam number x input value
42 @treturn number output value
45 int liba_lpf_iter(lua_State
*L
);
48 zeroing for Low Pass Filter
49 @treturn a.lpf Low Pass Filter userdata
52 int liba_lpf_zero(lua_State
*L
);
54 #if defined(__cplusplus)
56 #endif /* __cplusplus */