| 1 | initial version |
No idea. It may worth noticing that though:
sage: bool(func(0) == func(0).simplify())
True
Something inside the object is modified:
sage: hash(func(0)) == hash(func(0).simplify())
False
sage: hash(cos(x)) == hash(cos(x).simplify())
True
| 2 | No.2 Revision |
No idea. It may worth noticing that though:
sage: bool(func(0) == func(0).simplify())
True
Something inside the object is modified:
sage: hash(func(0)) == hash(func(0).simplify())
False
sage: hash(cos(x)) == hash(cos(x).simplify())
True
Which may explain why the method .subs() is not able to recognize that func(0).simplify() is the same as func(0).
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.