Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: transforming a rule of lists to a list of rules

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69163] Re: [mg69098] transforming a rule of lists to a list of rules
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Thu, 31 Aug 2006 04:39:44 -0400 (EDT)
  • References: <200608301032.GAA27888@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Thread

On 8/30/06, Ken Senior <Ken.Senior at nrl.navy.mil> wrote:
> Hello everyone.
>
> Does anyone know a way to transform a rule involving a list into a list
> of individual rules, that is to interpret the rule elementwise?  For
> example, given
>
>    {a,b,c} -> {0,3,x}
>
> is there a transformation which will turn this into
>
>    {a->0, b->3, c->x}
>
> Thanks for the help!
>
> Ken
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: transforming a rule of lists to a list of rules
  • Next by Date: Re: transforming a rule of lists to a list of rules
  • Previous by thread: transforming a rule of lists to a list of rules
  • Next by thread: Re: transforming a rule of lists to a list of rules