Maurizio <[email protected]> writes:
> What is the reason to have such a bugged function?
I wouldn't consider
> > sage: var('omgo zr ys cz')
> > (omgo, zr, ys, cz)
> > sage: omgo = (sqrt(-zr^2 + 2*ys*zr + (2*cz - zr)^2 - 2*ys*(2*cz - zr))
> > + 2*zr- 2*cz)/(2*zr - 2*cz)
> > sage: omgo.simplify_full()
> > (I*sqrt(cz - ys)*sqrt(zr - cz) + zr - cz)/(zr - cz)
a bug, at least not a priori. it just seems that simplify_full
assumes sqrt(a)*sqrt(b) = sqrt(a*b), which is reasonable in many
circumstances.
(I didn't check the details, though)
Martin
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---