#9085: random_element fails for a cartesian product of fields
-------------------------------------+-------------------------------------
Reporter: cremona | Owner: AlexGhitza
Type: defect | Status: positive_review
Priority: major | Milestone: sage-
Component: algebra | duplicate/invalid/wontfix
Keywords: random element | Resolution:
cartesian product | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by nthiery):
* status: needs_review => positive_review
Comment:
And, thanks to #18411, also with the original syntax:
{{{
sage: F = GF(2)
sage: A = CartesianProduct(F,F)
sage: print A.random_element()
(1,0)
}}}
Thanks Frédéric for spotting this outdated ticket.
--
Ticket URL: <http://trac.sagemath.org/ticket/9085#comment:8>
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.