added reset()

This commit is contained in:
Ahmet Inan 2020-04-30 19:55:52 +02:00
commit 65925d53a3

View file

@ -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;