Making Big Substitution List
- To: mathgroup at smc.vnet.net
- Subject: [mg25597] Making Big Substitution List
- From: Alex <alex000 at my-deja.com>
- Date: Wed, 11 Oct 2000 03:50:38 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi All,
I have the following list
P={p1,p2,p3}
and I would like to create substitution list
SubsP={p1->1,p2->2,p3->3}
to use for the future
How do I do it in one nice expression.
Unfortunately P->{1,2,3} does not
do the job.
I am think about somthing like
Apply[] function but I am lost ...
Please help
Many thanks,
Alex
Sent via Deja.com http://www.deja.com/
Before you buy.