On Mon, Sep 14, 2009 at 11:13:01AM -0700, Yuan Wang wrote:
Hi all,
I can’t find the definition of class gr_sincosf() used in
gr_frequency_modulator_fc.cc in doxygen C++ API online.
i.e. gr_sincosf (d_phase, &oq, &oi)
Can anyone tell me how to find that?
It’s worth learning basic *nix command line tools:
[eb@octo gnuradio-eb]$ find . -print | xargs grep gr_sincosf
./gnuradio-core/src/lib/general/gr_frequency_modulator_fc.cc:
gr_sincosf (d_phase, &oq, &oi);
./gnuradio-core/src/lib/general/gr_expj.h: gr_sincosf(phase,
&t_imag, &t_real);
./gnuradio-core/src/lib/general/gr_pll_refout_cc.cc:
gr_sincosf(d_phase,&t_imag,&t_real);
./gnuradio-core/src/lib/general/gr_pll_carriertracking_cc.cc:
gr_sincosf(d_phase,&t_imag,&t_real);
./gnuradio-core/src/lib/general/gr_phase_modulator_fc.cc:
gr_sincosf (d_phase, &oq, &oi);
./gnuradio-core/src/lib/general/gr_dd_mpsk_sync_cc.cc:
gr_sincosf(d_phase, &t_imag, &t_real);
./gnuradio-core/src/lib/general/gr_vco.h: gr_sincosf (d_phase,
sinx, cosx);
./gnuradio-core/src/lib/general/gr_nco.h: gr_sincosf (phase, sinx,
cosx);
./gnuradio-core/src/lib/filter/gr_sincos.h:void gr_sincosf (float x,
float *sin, float *cos);
./gnuradio-core/src/lib/filter/gr_sincos.c:gr_sincosf (float x,
float *sinx, float *cosx)
./gnuradio-core/src/lib/filter/gr_sincos.c:gr_sincosf (float x,
float *sinx, float *cosx)
./gnuradio-core/src/lib/filter/gr_sincos.c:gr_sincosf (float x,
float *sinx, float *cosx)
ctags or etags is another way to find the same info.
Eric