MathGroup Archive 2009

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

Search the Archive

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


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??