home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
CUJJUN93.ZIP
/
1106040A
< prev
next >
Wrap
Text File
|
1993-04-12
|
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;
}