[Maxima] expanding sums

Stavros Macrakis macrakis at alum.mit.edu
Tue May 6 14:09:14 CDT 2008


On Tue, May 6, 2008 at 2:54 PM, Zach <elzacho at gmail.com> wrote:
> block([ret:[]], for n:0 thru 4 do ret:cons(f[n](x), ret), reverse(ret));

This works, but simpler would be:

   makelist( f[n](x), n, 0, 4)

           -s


More information about the Maxima mailing list