Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

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.


  • Prev by Date: Re: Harmonic Analysis (Harmonic Matching) (Symbolic) in Mathematica
  • Next by Date: limits
  • Previous by thread: Re: Harmonic Analysis (Harmonic Matching) (Symbolic) in Mathematica
  • Next by thread: Re: Making Big Substitution List