#6237: repeated roots with roots(CDF, multiplicities=False)
------------------------------+---------------------------------------------
 Reporter:  ncalexan          |       Owner:  somebody                
     Type:  defect            |      Status:  new                     
 Priority:  major             |   Milestone:  sage-4.0.2              
Component:  basic arithmetic  |    Keywords:  roots CDF multiplicities
 Reviewer:                    |      Author:                          
   Merged:                    |  
------------------------------+---------------------------------------------
 {{{
 sage: pari('v')
 v
 sage: pari('u')
 u
 sage: u = QQ['u'].0
 sage: v = QQ['u']['v'].0
 sage: f = v^3 - u^7 + 2*u^3*v
 sage: f.discriminant()
 -27*u^14 - 32*u^9
 sage: f.discriminant().roots(CDF, multiplicities=False)

 [-1.03456371594,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  -0.31969776999 - 0.983928563571*I,
  -0.31969776999 + 0.983928563571*I,
  0.836979627962 - 0.608101294789*I,
  0.836979627962 + 0.608101294789*I]
 }}}

 Note the repetition of 0.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6237>
Sage <http://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