#20881: random alternating sign matrices
-------------------------+-------------------------------------------------
Reporter: | Owner:
chapoton |
Type: | Status: needs_review
enhancement |
Priority: major | Milestone: sage-7.3
Component: | Resolution:
combinatorics |
Keywords: | Merged in:
Authors: | Reviewers:
Frédéric Chapoton |
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/chapoton/20881 | 4d87c4cc2c93091eac507b01725de74d8fd55682
Dependencies: | Stopgaps:
-------------------------+-------------------------------------------------
Comment (by kdilks):
Need to spend a little time digesting exactly what's going on with the
base 2 logarithms and the algorithm.
Right now, {{{AlternatingSignMatrices(n).random_element()}}} returns an
element of {{{AlternatingSignMatrices(n-1)}}} (since an `n x n` ASM has a
`n+1 x n+1` height function. Changing the line {{{order = self._n}}} to
{{{order = self._n +1}}} should fix that.
--
Ticket URL: <https://trac.sagemath.org/ticket/20881#comment:2>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.