Re: transforming a rule of lists to a list of rules
- To: mathgroup at smc.vnet.net
- Subject: [mg69141] Re: transforming a rule of lists to a list of rules
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Thu, 31 Aug 2006 04:38:48 -0400 (EDT)
- Organization: Uni Leipzig
- References: <ed3qil$rn5$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
Thread[{a,b,c} -> {0,3,x}]
??
Regards
Jens
"Ken Senior" <Ken.Senior at nrl.navy.mil> schrieb im
Newsbeitrag news:ed3qil$rn5$1 at smc.vnet.net...
| 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
|