diff --git a/phasor.hh b/phasor.hh index 6d0e4bd..6ee5401 100644 --- a/phasor.hh +++ b/phasor.hh @@ -34,6 +34,10 @@ public: { omega(Const::TwoPi() * v); } + void reset() + { + prev = complex_type(1, 0); + } complex_type operator()() { complex_type tmp = prev;