Open videlec opened 9 years ago
Dependencies: u/vdelecroix/19345
Changed branch from #6452 to u/vdelecroix/19345
Changed dependencies from u/vdelecroix/19345 to #6452
rebased on #6452
Description changed:
---
+++
@@ -1,17 +1,23 @@
We implement a reasonably fast lexicographic iterator for modules over `ZZ/nZZ`. We integrate a `minimum_weight` method that could be used as an alternative to GAP in some part of `sage.codings`.
+
+Setup
+
+```
+sage: R = IntegerModRing(6)
+sage: M = FreeModule(R, 4)
+sage: U = M.span([M((1,1,0,2)), M((2,2,3,0))])
+```
Before
-sage: R = IntegerModRing(6) -sage: M = FreeModule(R, 4) sage: timeit('for u in M: pass') 25 loops, best of 3: 9.11 ms per loop
-sage: U = M.span([M((1,1,0,2)), M((2,2,3,0))]) sage: timeit('for u in U: pass') 625 loops, best of 3: 641 µs per loop
+
After
Apparently not ready...
We implement a reasonably fast lexicographic iterator for modules over
ZZ/nZZ
. We integrate aminimum_weight
method that could be used as an alternative to GAP in some part ofsage.codings
.Setup
Before
After
Depends on #6452
CC: @johanrosenkilde @sagetrac-dlucas
Component: coding theory
Author: Vincent Delecroix
Branch/Commit: u/vdelecroix/19345 @
5773c78
Issue created by migration from https://trac.sagemath.org/ticket/19345