MathGroup Archive 2005

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

Search the Archive

Re: split list equation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59466] Re: split list equation
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Wed, 10 Aug 2005 02:57:16 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, U.K.
  • References: <dd9mic$ipt$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

David Boily wrote:
> is there a function that does this:
> 
> {r, t}=={1, 2} ==> {r==1, t==2}
> 

Hi David,

I think that *MapThread* is what you are looking for:

In[1]:=
MapThread[Equal, {{r, t}, {1, 2}}]

Out[1]=
{r == 1, t == 2}

Best regards,
/J.M.


  • Prev by Date: Re: split list equation
  • Next by Date: Re: split list equation
  • Previous by thread: Re: split list equation
  • Next by thread: Re: split list equation