Collaboration diagram for Miscellaneous DSP:
|
Classes | |
| class | SPUC::a_d |
| An A/D conversion class. More... | |
| class | SPUC::circ_buffer< T > |
| Circular Buffer. More... | |
| class | SPUC::cordic< Numeric > |
| Cordic rotator. More... | |
| class | SPUC::delay< Numeric > |
| Template class for Delay line. More... | |
| class | SPUC::max_pn |
| Maximal Length Pseudorandom sequence generator. More... | |
| class | SPUC::noise |
| Gaussian noise routine. More... | |
| class | SPUC::qnoise< Numeric > |
| class to add quantization noise to signal More... | |
| class | SPUC::quantiser< Numeric > |
| ........ More... | |
| class | SPUC::rv_stat |
| a basic random Variable Statistics Class More... | |
| class | SPUC::sigma_delta |
| Simple 1st order All-digital Sigma Delta converter. More... | |
Typedefs | |
| typedef complex< float_type > | SPUC::CPLX |
| General Purpose C++ complex FFT Transform. | |
Functions | |
| template<class T> | |
| smart_array< T > | SPUC::auto_corr (smart_array< T > x) |
| Compute the autocorrelation of the Vector. | |
| template<class T> | |
| smart_array< T > | SPUC::burg (smart_array< T > x, int P) |
| AR model coefficients calculation using Burg algorithm. | |
| template<typename T> | |
| T | SPUC::conj (T in) |
| Templated conjugate function template function that uses a class to allow template specialization. | |
| template<class T> | |
| smart_array< T > | SPUC::convolve (smart_array< T > x, smart_array< T > y) |
| smart_array< complex< float_type > > | SPUC::find_roots (smart_array< float_type > a, long n) |
| Calculate the complex roots of a polynomial equation. | |
| template<class T> | |
| smart_array< T > | SPUC::fliplr (smart_array< T > x) |
| fliplr - same as matlab function | |
| template<class T> | |
| complex< float_type > | SPUC::freqz_point (smart_array< T > b, smart_array< T > a, float_type freq, int N) |
| frequency transfer function at freq with iir A and B equations | |
| template<class T> | |
| float_type | SPUC::freqz_mag_point (smart_array< T > x, float_type freq, int N) |
| frequency magnitude function at freq with fir x | |
| template<class T> | |
| complex< float_type > | SPUC::freqz_point (T a, float_type freq) |
| frequency transfer function at freq for 1st order allpass | |
| template<class T> | |
| smart_array< complex< float_type > > | SPUC::freqz (smart_array< T > b, smart_array< T > a, int pts) |
| frequency transfer function over "pts" points for IIR | |
| template<class T> | |
| smart_array< complex< float_type > > | SPUC::freqz_mag (smart_array< T > b, smart_array< T > a, int pts) |
| frequency magnitude function over "pts" points for IIR | |
| template<class T> | |
| smart_array< complex< float_type > > | SPUC::freqz_fir (smart_array< T > x, int pts) |
| frequency magnitude function over "pts" points for FIR | |
| template<class T> | |
| smart_array< T > | SPUC::levdur (smart_array< T > R) |
| Template class for Levinson-Durbin algorithm. | |
| template<typename T> | |
| base_type< T >::btype | SPUC::magsq (T in) |
| Templated Magnitude Squared function template function that uses a class to allow template specialization. | |
| template<class T> | |
| smart_array< T > | SPUC::partial_convolve (smart_array< T > x, smart_array< T > y, int N, int M) |
| template<class T> | |
| complex< float_type > | SPUC::ptr_freqz_point (T *b, T *a, float_type freq, int N) |
| frequency transfer function at freq with iir A and B equations | |
| template<class T> | |
| float_type | SPUC::ptr_freqz_mag_point (T *x, float_type freq, int N) |
| frequency magnitude function at freq with fir x | |
| template<class T> | |
| complex< float_type > | SPUC::ptr_freqz_point (T a, float_type freq) |
| frequency transfer function at freq for 1st order allpass | |
| template<class T> | |
| void | SPUC::freqz (complex< float_type > *f, T *b, T *a, int N, int pts) |
| frequency transfer function over "pts" points for IIR | |
| template<class T> | |
| void | SPUC::ptr_freqz_mag (float_type *f, T *b, T *a, int N, int pts) |
| frequency magnitude function over "pts" points for IIR | |
| template<class T> | |
| void | SPUC::ptr_freqz_fir (complex< float_type > *f, T *x, int N, int pts) |
| frequency magnitude function over "pts" points for FIR | |
| template<typename T> | |
| quantized_type< T >::dtype | SPUC::quantize (T in) |
| Templated Quantize function template function that uses a class to allow template specialization. | |
| template<class T> | |
| long | SPUC::real_quantize (T in) |
| Templated quantize function. | |
| template<class T> | |
| T | SPUC::real_round (T in, long bits) |
| Templated round function. | |
| template<class T> | |
| T | SPUC::real_saturate (T in, long bits) |
| Templated saturation functions. | |
| template<> | |
| long | SPUC::real_saturate (long in, long bits) |
| Templated saturation functions. | |
| template<class T> | |
| T | SPUC::round (T in, long bits) |
| Templated round function template function that uses a class to allow template specialization. | |
| template<class T> | |
| T | SPUC::saturate (T in, long bits) |
| Templated saturate function template function that uses a class to allow template specialization. | |
| template<typename T> | |
| T | SPUC::signbit (T in) |
| Templated signbit function template function that uses a class to allow template specialization. | |
| template<class T> | |
| void | SPUC::toeplitz (vector< T > x, matrix< T > &A) |
| Get Symmetric Toeplitz matrix from vector. | |
| SPUC::cfft::cfft (int size, float_type scalef1=0.5, float_type scalef2=1.0, float_type scalei1=1.0, float_type scalei2=1.0) | |
| General Purpose C++ complex FFT Transform. | |
| typedef complex<float_type> SPUC::CPLX |
General Purpose C++ complex FFT Transform.
This is a general-purpose C++ complex FFT transform class. it is defined as a template over a complex type. For instance, if using gnu gcc, the complex type is complex<float_type> And you declare the cfft class as cfft<complex<float_type>>
The underlying CPLX type requires: CPLX() operator = , CPLX(CPLX const&) CPLX(float_type,float_type) [used on cos/sin] CPLX operator*( CPLX , float_type ) CPLX conj(CPLX const &); [conjugate] ComPlex::operator @ (CPLX , CPLX ) [ where @ =* + - ]
| smart_array<T> SPUC::auto_corr | ( | smart_array< T > | x | ) |
Compute the autocorrelation of the Vector.
Tony Kirke
| smart_array<T> SPUC::burg | ( | smart_array< T > | x, | |
| int | P | |||
| ) |
AR model coefficients calculation using Burg algorithm.
Tony Kirke
| SPUC::cfft::cfft | ( | int | size, | |
| float_type | scalef1 = 0.5, |
|||
| float_type | scalef2 = 1.0, |
|||
| float_type | scalei1 = 1.0, |
|||
| float_type | scalei2 = 1.0 | |||
| ) | [inherited] |
General Purpose C++ complex FFT Transform.
| T SPUC::conj | ( | T | in | ) |
Templated conjugate function template function that uses a class to allow template specialization.
| smart_array<T> SPUC::convolve | ( | smart_array< T > | x, | |
| smart_array< T > | y | |||
| ) |
Tony Kirke
| smart_array< complex< float_type > > SPUC::find_roots | ( | smart_array< float_type > | a, | |
| long | n | |||
| ) |
Calculate the complex roots of a polynomial equation.
| smart_array<T> SPUC::fliplr | ( | smart_array< T > | x | ) |
fliplr - same as matlab function
| void SPUC::freqz | ( | complex< float_type > * | f, | |
| T * | b, | |||
| T * | a, | |||
| int | N, | |||
| int | pts | |||
| ) |
frequency transfer function over "pts" points for IIR
| smart_array<complex<float_type> > SPUC::freqz | ( | smart_array< T > | b, | |
| smart_array< T > | a, | |||
| int | pts | |||
| ) |
frequency transfer function over "pts" points for IIR
| smart_array<complex<float_type> > SPUC::freqz_fir | ( | smart_array< T > | x, | |
| int | pts | |||
| ) |
frequency magnitude function over "pts" points for FIR
| smart_array<complex<float_type> > SPUC::freqz_mag | ( | smart_array< T > | b, | |
| smart_array< T > | a, | |||
| int | pts | |||
| ) |
frequency magnitude function over "pts" points for IIR
| float_type SPUC::freqz_mag_point | ( | smart_array< T > | x, | |
| float_type | freq, | |||
| int | N | |||
| ) |
frequency magnitude function at freq with fir x
| complex<float_type> SPUC::freqz_point | ( | T | a, | |
| float_type | freq | |||
| ) |
frequency transfer function at freq for 1st order allpass
| complex<float_type> SPUC::freqz_point | ( | smart_array< T > | b, | |
| smart_array< T > | a, | |||
| float_type | freq, | |||
| int | N | |||
| ) |
frequency transfer function at freq with iir A and B equations
| smart_array<T> SPUC::levdur | ( | smart_array< T > | R | ) |
Template class for Levinson-Durbin algorithm.
<font color="red">Under construction!</font>
| base_type< T >::btype SPUC::magsq | ( | T | in | ) |
Templated Magnitude Squared function template function that uses a class to allow template specialization.
| smart_array<T> SPUC::partial_convolve | ( | smart_array< T > | x, | |
| smart_array< T > | y, | |||
| int | N, | |||
| int | M | |||
| ) |
Tony Kirke
| void SPUC::ptr_freqz_fir | ( | complex< float_type > * | f, | |
| T * | x, | |||
| int | N, | |||
| int | pts | |||
| ) |
frequency magnitude function over "pts" points for FIR
| void SPUC::ptr_freqz_mag | ( | float_type * | f, | |
| T * | b, | |||
| T * | a, | |||
| int | N, | |||
| int | pts | |||
| ) |
frequency magnitude function over "pts" points for IIR
| float_type SPUC::ptr_freqz_mag_point | ( | T * | x, | |
| float_type | freq, | |||
| int | N | |||
| ) |
frequency magnitude function at freq with fir x
| complex<float_type> SPUC::ptr_freqz_point | ( | T | a, | |
| float_type | freq | |||
| ) |
frequency transfer function at freq for 1st order allpass
| complex<float_type> SPUC::ptr_freqz_point | ( | T * | b, | |
| T * | a, | |||
| float_type | freq, | |||
| int | N | |||
| ) |
frequency transfer function at freq with iir A and B equations
| quantized_type<T>::dtype SPUC::quantize | ( | T | in | ) |
Templated Quantize function template function that uses a class to allow template specialization.
| long SPUC::real_quantize | ( | T | in | ) |
Templated quantize function.
| T SPUC::real_round | ( | T | in, | |
| long | bits | |||
| ) |
Templated round function.
| long SPUC::real_saturate | ( | long | in, | |
| long | bits | |||
| ) | [inline] |
Templated saturation functions.
| T SPUC::real_saturate | ( | T | in, | |
| long | bits | |||
| ) |
Templated saturation functions.
| T SPUC::round | ( | T | in, | |
| long | bits | |||
| ) |
Templated round function template function that uses a class to allow template specialization.
| T SPUC::saturate | ( | T | in, | |
| long | bits | |||
| ) |
Templated saturate function template function that uses a class to allow template specialization.
| T SPUC::signbit | ( | T | in | ) |
Templated signbit function template function that uses a class to allow template specialization.
| void SPUC::toeplitz | ( | vector< T > | x, | |
| matrix< T > & | A | |||
| ) |
Get Symmetric Toeplitz matrix from vector.
Tony Kirke
1.4.7