#6237: repeated roots with roots(CDF, multiplicities=False)
--------------------------------+-------------------------------------------
   Reporter:  ncalexan          |       Owner:  somebody                
       Type:  defect            |      Status:  positive_review         
   Priority:  major             |   Milestone:  sage-4.3.1              
  Component:  basic arithmetic  |    Keywords:  roots CDF multiplicities
Work_issues:                    |      Author:  Alex Ghitza             
   Upstream:  N/A               |    Reviewer:  Karl-Dieter Crisman     
     Merged:                    |  
--------------------------------+-------------------------------------------

Comment(by AlexGhitza):

 Did you try the whole thing, including {{{pari('v')}}} and {{{pari('u')}}}
 ?

 It seems to work for me.  Of course, if I had written the example I would
 have tried something like

 {{{
 sage: R.<u> = QQ[]
 sage: S.<v> = R[]
 sage: f = v^3 - u^7 + 2*u^3*v
 sage: f.discriminant()
 }}}

 This does indeed fail with a {{{PariError(8)}}}.  And this is apparently
 documented in the docstring for {{{discriminant}}}.  It's a shame that it
 doesn't work out of the box.  In fact, I would even like something like
 the following to work:

 {{{
 sage: R.<u, v> = QQ[]
 sage: f = v^3 - u^7 + 2*u^3*v
 sage: f.discriminant(v)
 }}}

 Anyway, it's beyond the scope of this ticket.  I might open an enhancement
 ticket about it.

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