summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/general/gr_vco.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-core/src/lib/general/gr_vco.h')
-rw-r--r--gnuradio-core/src/lib/general/gr_vco.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/gnuradio-core/src/lib/general/gr_vco.h b/gnuradio-core/src/lib/general/gr_vco.h
index 1e8636f7bb..3ceaf15dd4 100644
--- a/gnuradio-core/src/lib/general/gr_vco.h
+++ b/gnuradio-core/src/lib/general/gr_vco.h
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2005 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
@@ -35,7 +35,7 @@
//FIXME Eventually generalize this to fixed point
-template<class o_type, class i_type>
+template<class o_type, class i_type>
class gr_vco {
public:
gr_vco () : d_phase (0) {}
@@ -50,7 +50,7 @@ public:
void adjust_phase (double delta_phase) {
d_phase += delta_phase;
if (fabs (d_phase) > M_PI){
-
+
while (d_phase > M_PI)
d_phase -= 2*M_PI;
@@ -75,14 +75,14 @@ protected:
double d_phase;
};
-template<class o_type, class i_type>
+template<class o_type, class i_type>
void
gr_vco<o_type,i_type>::sincos (float *sinx, float *cosx) const
{
gr_sincosf (d_phase, sinx, cosx);
}
-template<class o_type, class i_type>
+template<class o_type, class i_type>
void
gr_vco<o_type,i_type>::cos (float *output, const float *input, int noutput_items, double k, double ampl)
{