9 Aug
2009
9 Aug
'09
11:39 p.m.
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/>