#16295: Faster is_orthogonal_array
-------------------------------------+-------------------------------------
Reporter: ncohen | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: combinatorial | Resolution:
designs | Merged in:
Keywords: | Reviewers:
Authors: Nathann Cohen | Work issues:
Report Upstream: N/A | Commit:
Branch: u/ncohen/16295 | 31e84b82913815b2005b5e2e45650c1568a45761
Dependencies: #16236 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by brett):
I have made almost all the changes. In the code line
{{{
if verbose:
print {"OA" : "Columns {} and {} are not orthogonal".format(i,j),
"MOLS" : "Matrices {} and {} are not
orthogonal".format(i,j)}[terminology]
return False
}}}
Is there a compact way of switching depending on the values of i and j in
the case that terminology=MOLS? if i = 0 and j>1 then "square j-2" is not
row latin. if i=1 and J> 1 then square j-2 is not column latin" if both
i,j >2 then "square i-2 is not orthogonal to square j-2"
if i=0 and j=1 I have not found the right way tto word the error message
yet.
brett
--
Ticket URL: <http://trac.sagemath.org/ticket/16295#comment:47>
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.