Re: split list equation
- To: mathgroup at smc.vnet.net
- Subject: [mg59458] Re: [mg59414] split list equation
- From: Selwyn Hollis <sh2.7183 at earthlink.net>
- Date: Wed, 10 Aug 2005 02:56:39 -0400 (EDT)
- References: <200508090730.DAA19049@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thread is your friend. Thread[{r, t}=={1, 2}] --> {r==1, t==2} which seems a bit less arcane when viewed this way: Thread[ Equal[List[r, t], List[1, 2]] ] //FullForm --> List[Equal[r, t], Equal[1, 2]] Selwyn Hollis http://www.appliedsymbols.com On Aug 9, 2005, at 3:30 AM, David Boily wrote: > is there a function that does this: > > {r, t}=={1, 2} ==> {r==1, t==2} > > thanks, > > David Boily > Centre for Intelligent Machines > McGill University > Montreal, Quebec > >
- References:
- split list equation
- From: David Boily <dsboily@fastmail.ca>
- split list equation