diff --git a/phasor.hh b/phasor.hh index b5cb71e..6d0e4bd 100644 --- a/phasor.hh +++ b/phasor.hh @@ -30,6 +30,10 @@ public: { delta = complex_type(cos(v), sin(v)); } + void freq(value_type v) + { + omega(Const::TwoPi() * v); + } complex_type operator()() { complex_type tmp = prev;