MathGroup Archive 2005

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

Search the Archive

Re: Canonical order...

  • To: mathgroup at
  • Subject: [mg55041] Re: [mg54989] Canonical order...
  • From: Andrzej Kozlowski <akoz at>
  • Date: Thu, 10 Mar 2005 05:24:52 -0500 (EST)
  • References: <> <> <>
  • Sender: owner-wri-mathgroup at

On 9 Mar 2005, at 19:34, Josef Karthauser wrote:

> On Wed, Mar 09, 2005 at 07:09:31PM +0100, Andrzej Kozlowski wrote:
>> Note that changing the behaviour of Sort in this way will have no
>> effect on the behaviour of Times.
> Thanks for the reply.
> I guess the more basis question is one of canonical order.  Functions
> (like Times) that are attributed with Orderless reorder their arguments
> according to some form of canonicalisation.  In my case I have a
> data-type where I have a different idea of the canonical than 
> mathmatica
> has and I was wondering how to influence mathematica in deciding when
> things are canonical.  Is this possible?
> Joe
> -- 
> Josef Karthauser (joe at

You can use any custom sort function for sorting  and some polynomial 
algebra functions let you specify the ordering of variables etc, for 
the purpose of symbolic computation but you can't change Mathematica's 
canonical order in general and in particular you can't change the way 
the Orderless attribute works.


  • Prev by Date: Re: String comparison
  • Next by Date: Re: String comparison
  • Previous by thread: Re: Canonical order...
  • Next by thread: Re: Canonical order...