#17233: Uniform random generation of StandardTableau of a given size
-------------------------------------+-------------------------------------
Reporter: g.chatel | Owner: gchatel
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: PLEASE CHANGE | Resolution:
Keywords: StandardTableaux, | Merged in:
random, combinat | Reviewers:
Authors: Grégory Châtel | Work issues:
Report Upstream: N/A | Commit:
Branch: public/combinat | 3afe72304d59aa71dd7c212ea7f3a20a49245821
/tableaux-random-17233 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by tscrim):
Replying to [comment:4 darij]:
> - Is this:
> {{{
> PerfectMatchings(set(range(1, self.size + 1)) -
set(fixed_point_positions)).random_element()
> }}}
> actually efficient? I am asking because I don't see a random method in
perfect_matchings.py, but I might not be looking in the right place.
There is a `random_element` in `perfect_matchings.py`; although it calls
`Permutations(n).random_element()` which looks like it's fast.
--
Ticket URL: <http://trac.sagemath.org/ticket/17233#comment:5>
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.