#17662: Evenly distributed sets
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-6.5
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers:
Authors: Vincent Delecroix | Work issues:
Report Upstream: N/A | Commit:
Branch: public/17662 | 87eea8dce29ccb3e8eda0d35e982ac4352aa5179
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
Thanks for the commit.
Replying to [comment:15 ncohen]:
> I also have a couple of questions:
>
> Could you explain somewhere why being an EDS is preserved by
relabelling?
Yes, easy: $(ax+b) - (ax'+b) = a(x-x')$. So the cosets of the differences
`x-x'` are just permuted by the multiplication by `a`. Because the
condition is "hit each of them twice", it is invariant under permutation.
Will write it.
> Also, why an 'if' there?
> {{{
> if BB > B:
> relabs.add(tuple(BB))
> }}}
Right, can be safely removed. Will do.
- I have a commit with much cleaner/better branch cut, am I free to add it
now?
- I can get rid of `sage.ratio` by reorganizing `self.list_K` into `[x^i
for i in range(self.q-1)]`. That way the ratio would just be
`(x-y)%(q-1)`. Do you think it would be better?
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/17662#comment:17>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.