Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Indexed Slot in a Rule - How to do it??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100324] Re: Indexed Slot in a Rule - How to do it??
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Mon, 1 Jun 2009 07:06:55 -0400 (EDT)
  • References: <gvtme0$gct$1@smc.vnet.net>

On May 31, 1:33 pm, Alan <alan.st... at yahoo.com> wrote:
>
> xvars={x1,x2,x3};

One more thing: here's how to generate the replacement rules from the
list of vars:

Thread[xvars -> Slot /@ Range@Length[xvars]]


  • Prev by Date: Re: Perpendicular lines do not appear perpendicular
  • Next by Date: Re: two questions
  • Previous by thread: Re: Indexed Slot in a Rule - How to do it??
  • Next by thread: Re: Indexed Slot in a Rule - How to do it??