| 1 | initial version |
See the documentation of reduce: it modifies the element instead of returning a new copy. So:
sage: f = (x0^2-x1^2)/(x0-x1)
sage: f.reduce()
sage: f
x0 + x1
| 2 | No.2 Revision |
See the documentation of reduce: it modifies the element instead of returning a new copy. So:
sage: f = (x0^2-x1^2)/(x0-x1)
sage: f.reduce()
sage: f
x0 + x1
Also read in the documentation:
Automatically called for exact rings, but because it may be numerically unstable for inexact rings it must be called manually in that case.
So there is no point in calling it in your particular case.
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.