transforming a rule of lists to a list of rules
- To: mathgroup at smc.vnet.net
- Subject: [mg69098] transforming a rule of lists to a list of rules
- From: Ken Senior <Ken.Senior at nrl.navy.mil>
- Date: Wed, 30 Aug 2006 06:32:51 -0400 (EDT)
- Organization: Naval Research Laboratory, Washington, DC
- Sender: owner-wri-mathgroup at wolfram.com
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
- Follow-Ups:
- Re: transforming a rule of lists to a list of rules
- From: János <janos.lobb@yale.edu>
- Re: transforming a rule of lists to a list of rules
- From: Ken Levasseur <klevasseur@mac.com>
- Re: transforming a rule of lists to a list of rules
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: transforming a rule of lists to a list of rules
- From: Adriano Pascoletti <pascolet@dimi.uniud.it>
- Re: transforming a rule of lists to a list of rules
- From: "Chris Chiasson" <chris@chiasson.name>
- Re: transforming a rule of lists to a list of rules