Order of terms
- To: mathgroup at smc.vnet.net
- Subject: [mg77655] Order of terms
- From: Thomas Madden <thomas.madden at sbcglobal.net>
- Date: Thu, 14 Jun 2007 05:35:06 -0400 (EDT)
Given
In[1]:= c[p_] := Sum[Subscript[a, k]* Subscript[b, n - k], {n, 0, p}, {k, 0,
n}]
How can I get the output in the same order that the double sum is written?
For example I would like to have the output from c[2] be
In[3]:= Hold[Subscript[a, 0]Subscript[b, 0]+Subscript[a, 0]Subscript[b,
1]+Subscript[a, 1]Subscript[b, 0]+Subscript[a, 0]Subscript[b,
2]+Subscript[a, 1]Subscript[b, 1]+Subscript[a, 2]Subscript[b, 0]]
rather than the default
c[2]
Thanks in advance for any and all replies.
Thomas