DSP Run-Time Library Guide
Table 4-7. Vector Functions (Cont'd)
Description
Real Vector Dot
Product
Complex Vector
Dot Product
window.h — Window Generators
The
window.h
based on various methodologies. The functions defined in the
header file are listed in
Run-Time Library Reference" on page
For all window functions, a stride parameter
window values. The window length parameter
elements in the window. Therefore, for a stride
an array of length 20 is required, where every second entry is untouched.
Table 4-8. Window Generator Functions
Description
Generate Bartlett
Window
Generate Blackman
Window
Generate Gaussian
Window
4-20
Prototype
double vecdot (const double a [ ],
const double b [ ], int n);
float vecdotf (const float a [ ],
const float b [ ], int n);
fract16 vecdot_fr16 (const fract16 a [ ],
const fract16 b [ ], int n);
complex_double cvecdot (const complex_double a [ ],
const complex_double b [ ], int n);
complex_float cvecdotf (const complex_float a [ ],
const complex_float b [ ], int n);
complex_fract16 cvecdot_fr16 (const complex_fract16 a [ ],
const complex_fract16 b [ ], complex_fract16 c [ ], int n);
header file contains various functions to generate windows
Table 4-8
Prototype
void gen_bartlett_fr16 (fract16 w[ ], int a, int n);
void gen_blackman_fr16 (fract16 w[ ], int a, int n);
void gen_gaussian_fr16 (fract16 w[ ], float alpha, int a, int n);
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
and are described in detail in
4-22.
can be used to space the
a
equates to the number of
n
of 2 and a length
a
window.h
"DSP
of 10,
n
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers