#6273: [with patch, needs work] Improve random_element for number field orders 
and
ideals (easy)
---------------------------+------------------------------------------------
 Reporter:  davidloeffler  |       Owner:  was                     
     Type:  defect         |      Status:  new                     
 Priority:  major          |   Milestone:  sage-4.0.2              
Component:  number theory  |    Keywords:  number field ideal order
 Reviewer:                 |      Author:                          
   Merged:                 |  
---------------------------+------------------------------------------------

Comment(by cremona):

 Replying to [comment:3 was]:
 > REVIEW:
 >
 > I think it would be better to do
 > {{{
 >  def random_element(self, *args, **kwds)
 > }}}
 > then in the docstring say that the inputs are identical to
 ZZ.random_element, whatever those are.  This will if ZZ.random_element is
 ever improved, changed, or extended in any way (and let's hope it is),
 then this docstring won't have to change.
 >
 > Then in the call to ZZ.random_element, just do ZZ.random_element(*args,
 **kwds).  This shorter and more robust.
 >
 >  -- William

 OK, I'll do that.  John

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