MathGroup Archive 2003

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

Search the Archive

Re: Conversion Function -> List


You can try this
x y + Sin[x] Cos[y]

and

Sum[p[i,x] q[i,y], {i,1,n}]/.{Times->List,Plus->List}

I hope this can help you.

W.Lin

"Vadim Zelenkov" <zelenkov at mail333.com> ¦b¶l¥ó
news:bpn3e7$ljo$1 at smc.vnet.net ¤¤¼¶¼g...
> Hello!
>
> Given a function
>     x y + Sin[x] Cos[y]
>
> I need to convert it into the list
>     {{x,y},{Sin[x],Cos[x]}}
>
> Generally, the purpose to convert a function
>     Sum[p[i,x] q[i[y], {i,1,n}]
>
> into the list
>     {{p[1,x],q[1,y]},...,{p[n,x],q[n,y]}
>
> How to do it using Mathematica?
>
> Thanks in advance!
>
> V.Z.
>
> P.S, If possible please duplicate your answers to zelenkov[at]mail333.com
>



  • Prev by Date: polynomial operations through CoefficientList
  • Next by Date: AW: Conversion Function -> List
  • Previous by thread: Re: Conversion Function -> List
  • Next by thread: Re: Conversion Function -> List