#13417: Improved iteration on finite \ZZ-submodules and vector spaces over 
finite
fields
---------------------------+------------------------------------------------
   Reporter:  tfeulner     |             Owner:  AlexGhitza    
       Type:  enhancement  |            Status:  new           
   Priority:  major        |         Milestone:  sage-5.4      
  Component:  algebra      |          Keywords:                
Work issues:               |   Report Upstream:  N/A           
  Reviewers:               |           Authors:  Thomas Feulner
  Merged in:               |      Dependencies:                
   Stopgaps:               |  
---------------------------+------------------------------------------------
 This patch defines an iterator class for finite \ZZ-submodules and
 especially for subspaces over finite fields.

 It improves the running times of this computations significantly:

 {{{
     sage: from sage.modules.finite_submodule_iter import
 FiniteFieldsubspace_iterator
     sage: A = random_matrix(GF(2), 15, 100)
     sage: X = A.row_space()
     sage: x = [0 for _ in X] #long time #takes 7.12 seconds
     sage: y = [0 for _ in FiniteFieldsubspace_iterator(A)] # takes 0.05
 seconds
 }}}

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