Re: using indexed variables in MultiplierMethod[ ], etc.

*To*: mathgroup at smc.vnet.net*Subject*: [mg7698] Re: using indexed variables in MultiplierMethod[ ], etc.*From*: daiyanh at mindspring.com (Daitaro Hagihara)*Date*: Sun, 29 Jun 1997 22:17:33 -0400 (EDT)*Organization*: MindSpring Enterprises*Sender*: owner-wri-mathgroup at wolfram.com

SymbolicSum. In the def. of SymbolicSum, the arguments are constrained by the Symbol heads. So all I have to do to circumvent this is to fool the function as if symbolic arguments are being supplied. If your function is doing the same thing as SymbolicSum, then this might help. SymbolicSum[K,{K,n}] --> (n*(1 + n))/2 SymbolicSum[K[1],{K[1],n}] --> SymbolicSum[K[1], {K[1], n}] SymbolicSum[K[1],{K[1],n}]/.K[1]->Symbol[K[1]] --> (n*(1 + n))/2 This may come in handy too: Thread[Array[u,2]->Array[Composition[Symbol,u],2]] --> {u[1] -> Symbol[u[1]], u[2] -> Symbol[u[2]]} Ask the package author before attempting to modify the source code as there may be a reason why certain argument constraints are imposed.