ListCorrelate¶
Computes discrete cross-correlation of two lists.
A padding list extends the data cyclically:
$ wo 'ListCorrelate[{x, y}, {a, b, c, d}, {1, 1}, {p, q}]'
{a*x + b*y, b*x + c*y, c*x + d*y, d*x + p*y}
A 5th and 6th argument replace Times and Plus: