#16553: Clean IncidenceStructure
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.3
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers:
Authors: Nathann Cohen, | Work issues:
Vincent Delecroix | Commit:
Report Upstream: N/A | d69700920609cd6112d2496b8858f94da3642531
Branch: public/16553 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by vdelecroix):
* status: needs_review => needs_work
Comment:
Replying to [comment:49 ncohen]:
> I mean : tell me where the function which is implemented in the last
release of Sage is broken. And why you broke it into several functions,
i.e. the question from comment:42.
This one is a `0-(4,0,3)` design
{{{
sage: I = IncidenceStructure(range(4), [[],[],[]])
sage: I.is_block_design()
(False, [0, 0, 0, 0])
}}}
And this one is a `0-(4,1,2)` design
{{{
sage: I = IncidenceStructure(range(4), [[0],[1]])
sage: I.is_block_design()
False
}}}
And this one is a `1-(4,1,1)` design
{{{
sage: I = IncidenceStructure(range(4), [[0],[1],[2],[3]])
sage: I.is_block_design()
(False, [0, 0, 0, 0])
}}}
I broke it into several pieces in order to allow an argument `t` to the
function. But I agree that comparing to the old version I can do much
better with the degree stuff...
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/16553#comment:50>
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.