Re: How to copy pattern from one expression to another?
- To: mathgroup at smc.vnet.net
- Subject: [mg45262] Re: [mg45254] How to copy pattern from one expression to another?
- From: Sorasak Danworaphong <Sorasak_Danworaphong at brown.edu>
- Date: Wed, 24 Dec 2003 17:42:16 -0500 (EST)
- References: <200312240935.EAA22289@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Is this what you want? In[1]:= XX={{x11,x12,x13},x2,x3,x4,{x51,x52},x6,{x71,x72},x8} Map[f,XX] Out[1]= {{x11,x12,x13},x2,x3,x4,{x51,x52},x6,{x71,x72},x8} Out[2]= {f[{x11,x12,x13}],f[x2],f[x3],f[x4],f[{x51,x52}],f[x6],f[{x71,x72}],f[x8 ]} Regards, Kieng On Dec 24, 2003, at 4:35 AM, Nico wrote: > XX={{x11,x12,x13},x2,x3,x4,{x51,x52},x6,{x71,x72},x8}
- References:
- How to copy pattern from one expression to another?
- From: "Nico" <pipponep@hotmail.com>
- How to copy pattern from one expression to another?