#9538: internal side effect in roots?
------------------------+---------------------------------------------------
   Reporter:  zimmerma  |       Owner:  burcin            
       Type:  defect    |      Status:  new               
   Priority:  blocker   |   Milestone:                    
  Component:  calculus  |    Keywords:  roots, side effect
     Author:            |    Upstream:  N/A               
   Reviewer:            |      Merged:                    
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by mpatel):

 Replying to [comment:2 zimmerma]:
 > Replying to [comment:1 mhansen]:
 > > I'm pretty sure this is just #8734.
 >
 > I tried the patch coming with #8734, but this does not resolve this
 issue.

 Could you try this again?  After applying #8734 to 4.5.3.alpha0 (and
 ignoring the patch rejects), I get
 {{{
 #!python
 sage: var('f6,f5,f4,x')
 (f6, f5, f4, x)
 sage: e=15*f6*x^2 + 5*f5*x + f4
 sage: e.roots(x)
 [(-1/30*(sqrt(-12*f4*f6 + 5*f5^2)*sqrt(5) + 5*f5)/f6, 1),
 (1/30*(sqrt(-12*f4*f6 + 5*f5^2)*sqrt(5) - 5*f5)/f6, 1)]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9538#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to