#4000: [with patch, needs work] Implement QQ['x'] via Flint ZZ['x'] + 
denominator
------------------------------+---------------------------------------------
 Reporter:  malb              |       Owner:  somebody       
     Type:  enhancement       |      Status:  new            
 Priority:  major             |   Milestone:  sage-wishlist  
Component:  basic arithmetic  |    Keywords:                 
 Reviewer:                    |      Author:  Martin Albrecht
   Merged:                    |  
------------------------------+---------------------------------------------
Changes (by newvalueoldvalue):

 * cc: spancratz (added)
  * author:  => Martin Albrecht


Comment:

 The attached patch provides the basic skeleton for the proposed new
 implementation. The following already works with the attached patch:

 {{{
 #!python
 sage: from sage.rings.polynomial.polynomial_rational_flint import
 Polynomial_rational_dense_flint
 sage: P.<t> = QQ[]
 sage: a = Polynomial_rational_dense_flint(P,1/2)
 sage: b = Polynomial_rational_dense_flint(P,2/1)
 sage: t = Polynomial_rational_dense_flint(P,is_gen=True)
 sage: a*t
 1/2*t
 sage: a*t*b
 t
 sage: a*t*b*b
 2*t
 sage: a*t*b*(b*t)
 2*t^2
 sage: a*t*b*(b*t)*a
 t^2
 }}}

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