Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

Re: Reordering Downvalues?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46628] Re: Reordering Downvalues?
  • From: "Fred Klingener" <gigabitbucket at brockeng.com>
  • Date: Thu, 26 Feb 2004 17:53:18 -0500 (EST)
  • References: <c1h0o9$9rv$1@smc.vnet.net> <c1iqkd$683$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de> wrote in message
news:c1iqkd$683$1 at smc.vnet.net...
> Hi,
>
> you do nothing wrong, but Mathematica orders the patterns by itself
> to ensure that more special patterns are applied first and this
> happens in your case.

I feared that this was the case - book section 2.5.7 is pretty clear on it,
but 2.5.13 gives explicit instructions on how to change the order.  It isn't
helpful that the order doesn't matter in the example they use.

Not being able to change the *Value order doesn't bother me as much as the
cheerful way that Mathematica takes the instruction then doesn't do
anything.  Some kind of message would have been nice.

Thanks,
Fred Klingener


  • Prev by Date: Re: Speed of V5 vs V4
  • Next by Date: need help with writing algorithm for polynomial gcd!
  • Previous by thread: Re: Reordering Downvalues?
  • Next by thread: Calling and run a notebook within another notebook