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

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

Search the Archive

Rules

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66359] Rules
  • From: Marcin Rak <umrakmm at cc.umanitoba.ca>
  • Date: Wed, 10 May 2006 06:34:49 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hey everyone,

I had two simple questions, and was wondering wether anyone could through
something my way:

1) When we have a list, call it AList, and we type the following
AList /. {rule1}
AList /. rule1
what is the difference between the two?  And, how would I go about
defining a rule for the variable AList, and a rule for the contents of the
list - obviously these are two different concepts, yet how would you
differentiate b/w the two?

Thanx to all
MR


  • Follow-Ups:
    • Re: Rules
      • From: "Chris Chiasson" <chris@chiasson.name>
    • Re: Rules
      • From: Adriano Pascoletti <pascolet@dimi.uniud.it>
  • Prev by Date: Re: mirror image of a square matrix
  • Next by Date: Re: mirror image of a square matrix
  • Previous by thread: Re: How to sum up this list fast, Total, Fold is still slow to me
  • Next by thread: Re: Rules