ListCorrelate
- To: mathgroup at smc.vnet.net
 - Subject: [mg37522] ListCorrelate
 - From: Mike <mikeh1980 at optusnet.com.au>
 - Date: Sat, 2 Nov 2002 03:31:58 -0500 (EST)
 - Sender: owner-wri-mathgroup at wolfram.com
 
I think it is probably possible to use ListCorrelate in the following way:
ListCorrelate[{(j-1)*X, Y,(j+1)*Z},{a,b,c,d,....}]
Where j changes as they move along the row. The change reflects the position
or part of the element they are operating on. For example initially j =2
then 3, 4...and the output would be
{(2-1)*X*a+Y*b+(2+1)*Z*c,(3-1)*X*b+Y*c+(3+1)*Z*d, ...}
I've tried to replace Times in ListCorrelate with a function that will do
this but had no success. If I can get this simple example to work I will
take this and Map a Matrix onto it:
ListCorrelate[{(j-1)*X, Y,(j+1)*Z},#]&/@ list
This will be part of a larger function which I've written alternatively
using MapThread and Map but I think it should work a lot faster if I can
incorporate ListCorrelate.
Thanks
Mike
- Follow-Ups:
- Re: ListCorrelate
- From: Daniel Lichtblau <danl@wolfram.com>
 
 
 - Re: ListCorrelate