#3943: [with patch, needs work] block designs patch
---------------------------+------------------------------------------------
Reporter: wdj | Owner: wdj
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.1.3
Component: combinatorics | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Changes (by rlm):
* summary: [with patch, needs review] block designs patch => [with
patch, needs work] block designs patch
Comment:
Replying to [comment:11 wdj]:
> I think I have implemented everything both Robert M and Michael have
suggested. It needs more functionality but this is a basic start and
passes sage -testall. To install,
> apply 10575 and 10576 to 3.1.3.alpha0.
There are many added functions without doctests -- my hands are tied,
those are the rules. Also, the format
{{{
"""
'designs' package.
Modules:
block_design
ext_rep
"""
__version__ = '0.7'
_revision = '$Id: __init__.py 274 2004-11-18 13:13:10Z peter $'
_author = 'Peter Dobcsanyi <[EMAIL PROTECTED]>, David Joyner
<[EMAIL PROTECTED]>'
License = '''
Copyright (c) 2004, 2008 Peter Dobcsanyi, David Joyner.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version. This program is distributed in the hope that
it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
'''
}}}
mismatches with almost every other sage module out there.
If you are comparing two lists of ints, `block_cmp` gives exactly the same
output as `cmp`, so I'm not sure why it's there. `int_div`, `binomial_new`
similarly don't seem necessary.
`ProjectiveGeometryDesign` is a perfect example, I think, of how not to
use the GAP interface in Sage. I think the number of calls to `gap.eval`
could certainly be reduced.
`IncidenceStructure` should not be the base class for block designs, since
it is in fact much more general than block designs.
Why is `#!/usr/bin/env python` appearing in the Sage library?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3943#comment:13>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---