#13417: Improved iteration on finite \ZZ-submodules and vector spaces over 
finite
fields
---------------------------------------------------------+------------------
       Reporter:  tfeulner                               |         Owner:  
AlexGhitza  
           Type:  enhancement                            |        Status:  
needs_review
       Priority:  major                                  |     Milestone:  
sage-5.4    
      Component:  algebra                                |    Resolution:       
       
       Keywords:                                         |   Work issues:       
       
Report Upstream:  N/A                                    |     Reviewers:       
       
        Authors:  Thomas Feulner, Punarbasu Purkayastha  |     Merged in:       
       
   Dependencies:                                         |      Stopgaps:       
       
---------------------------------------------------------+------------------
Description changed by tfeulner:

Old description:

> 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
> }}}
>
> ----
> Apply only [attachment:trac_13417-submodule_iter.patch]

New description:

 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
 }}}

 ----
 Apply only [attachment:trac_13417-submodule_iter.2.patch]

--

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