Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

ListCorrelate and Powers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116261] ListCorrelate and Powers
  • From: "Harvey P. Dale" <hpd1 at nyu.edu>
  • Date: Tue, 8 Feb 2011 05:09:07 -0500 (EST)

It is easy to use ListCorrelate to generate the sum of a list
with each element multiplied by the successive terms in the "kernel."
For example, ListCorrelate[{1,2,3,4},{a,b,c,d,e}] produces {a+2 b+3 c+4
d,b+2 c+3 d+4 e}.  Is there any way, using the optional 5th and 6th
parameters, to generate this list instead:
{a+b^2+c^3+d^4,b+c^2+d^3+e^4}?
Thanks.
Harvey

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


  • Prev by Date: NDSolve changed bahaviour in version 8?
  • Next by Date: Re: How do I hide all input in a Mathematica notebook?
  • Previous by thread: Re: NDSolve changed bahaviour in version 8?
  • Next by thread: Re: ListCorrelate and Powers