mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
added reset()
This commit is contained in:
parent
4b698d51c7
commit
65925d53a3
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,10 @@ public:
|
|||
{
|
||||
omega(Const<value_type>::TwoPi() * v);
|
||||
}
|
||||
void reset()
|
||||
{
|
||||
prev = complex_type(1, 0);
|
||||
}
|
||||
complex_type operator()()
|
||||
{
|
||||
complex_type tmp = prev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue