home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_11_06
/
1106040a
< prev
next >
Wrap
Text File
|
1993-04-11
|
419b
|
25 lines
void convolve_wave(const long int sequence_len,
const double *f,
const double *g,
double *y)
{
auto unsigned long int x,
n;
for (n = 0; n < sequence_len; n++)
{
y[n] = 0.0;
for (x = 0; x < n; x++)
{
y[n] += f[x] * g[n - x];
}
}
return;
}