MathGroup Archive 2004

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

Search the Archive

Re: Reordering Downvalues?


"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