#include <gr_nco.h>
Public Member Functions | |
| gr_nco () | |
| virtual | ~gr_nco () |
| void | set_phase (double angle) |
| void | adjust_phase (double delta_phase) |
| void | set_freq (double angle_rate) |
| void | adjust_freq (double delta_angle_rate) |
| void | step () |
| void | step (int n) |
| double | get_phase () const |
| double | get_freq () const |
| void | sincos (float *sinx, float *cosx) const |
| float | cos () const |
| float | sin () const |
| void | sin (float *output, int noutput_items, double ampl=1.0) |
| void | cos (float *output, int noutput_items, double ampl=1.0) |
| void | sincos (gr_complex *output, int noutput_items, double ampl=1.0) |
| void | sin (short *output, int noutput_items, double ampl=1.0) |
| void | cos (short *output, int noutput_items, double ampl=1.0) |
| void | sin (int *output, int noutput_items, double ampl=1.0) |
| void | cos (int *output, int noutput_items, double ampl=1.0) |
Protected Attributes | |
| double | phase |
| double | phase_inc |
| virtual gr_nco< o_type, i_type >::~gr_nco | ( | ) | [inline, virtual] |
| void gr_nco< o_type, i_type >::adjust_freq | ( | double | delta_angle_rate | ) | [inline] |
| void gr_nco< o_type, i_type >::adjust_phase | ( | double | delta_phase | ) | [inline] |
| void gr_nco< o_type, i_type >::cos | ( | int * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_nco< o_type, i_type >::cos(), gen_whitener::i, and gr_nco< o_type, i_type >::step().
| void gr_nco< o_type, i_type >::cos | ( | short * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_nco< o_type, i_type >::cos(), gen_whitener::i, and gr_nco< o_type, i_type >::step().
| void gr_nco< o_type, i_type >::cos | ( | float * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gr_nco< o_type, i_type >::cos(), gen_whitener::i, and gr_nco< o_type, i_type >::step().
| float gr_nco< o_type, i_type >::cos | ( | ) | const [inline] |
Referenced by gr_nco< o_type, i_type >::cos(), and gr_nco< float, float >::cos().
| double gr_nco< o_type, i_type >::get_freq | ( | ) | const [inline] |
| double gr_nco< o_type, i_type >::get_phase | ( | ) | const [inline] |
| void gr_nco< o_type, i_type >::set_freq | ( | double | angle_rate | ) | [inline] |
| void gr_nco< o_type, i_type >::set_phase | ( | double | angle | ) | [inline] |
| void gr_nco< o_type, i_type >::sin | ( | int * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gen_whitener::i, gr_nco< o_type, i_type >::sin(), and gr_nco< o_type, i_type >::step().
| void gr_nco< o_type, i_type >::sin | ( | short * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gen_whitener::i, gr_nco< o_type, i_type >::sin(), and gr_nco< o_type, i_type >::step().
| void gr_nco< o_type, i_type >::sin | ( | float * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
References gen_whitener::i, gr_nco< o_type, i_type >::sin(), and gr_nco< o_type, i_type >::step().
| float gr_nco< o_type, i_type >::sin | ( | ) | const [inline] |
Referenced by gr_nco< o_type, i_type >::sin(), and gr_nco< float, float >::sin().
| void gr_nco< o_type, i_type >::sincos | ( | gr_complex * | output, | |
| int | noutput_items, | |||
| double | ampl = 1.0 | |||
| ) | [inline] |
| void gr_nco< o_type, i_type >::sincos | ( | float * | sinx, | |
| float * | cosx | |||
| ) | const [inline] |
References gr_sincosf(), and gr_nco< o_type, i_type >::phase.
Referenced by gr_nco< o_type, i_type >::sincos().
| void gr_nco< o_type, i_type >::step | ( | int | n | ) | [inline] |
| void gr_nco< o_type, i_type >::step | ( | ) | [inline] |
1.5.8