#18063: Add random generation to Gelfand-Tsetlin triangles
-------------------------------------+-------------------------------------
Reporter: deinst | Owner: deinst
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.6
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: David Einstein | Reviewers: kdilks
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/kdilks/random_gelfand_tsetlin | 8ad564c0e6c6457c7d0e73b6a9365255814c3c24
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by kdilks):
1) Doc-build yelled at me for trying to add a reference that was already
included somewhere else, so I guess you were right to leave it out. I may
still tweak the documentation a little, so that the mention of Propp's
algorithm and the fact that it gives a uniformly random Gelfand-Tsetlin
pattern is also attached to random_element() so it shows up in the built
reference documents, not just attached to a helper method you can only see
in the source code.
2) The algorithm will loop indefinitely if self is empty, so it now raises
an error if your input has a combination of k,n,and strict that will yield
no Gelfand-Tsetlin patterns (k<0 if not strict, k+1<n if strict).
3) random_element() now returns a 'Gelfand-Tsetlin pattern' (in the sage
data type sense), rather than just the underlying list of lists.
I'm ok with a positive review, pending you checking my modifications.
--
Ticket URL: <http://trac.sagemath.org/ticket/18063#comment:12>
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.