[GiNaC-list] Ordering of expressions

Richard B. Kreckel kreckel at ginac.de
Sun Aug 9 23:39:28 CEST 2009


Alexei Sheplyakov wrote:
> This behavior is documented in the manual (section 5.7.2, titled as 'Expanding
> and collecting'): "Again, since the canonical form in GiNaC is not easy to
> guess you should be prepared to see different orderings of terms in such
> sums!".

[...]

> No, this is an implementation detail, and users are not supposed to fiddle
> with it (the only exception is implementing calchash() method in user defined
> classes).
> 
> @developers: I guess we should add this question to the FAQ, shouldn't we?

I suppose you mean the canonicalization question?
Or do you mean the one about hash values?

   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the GiNaC-list mailing list