#17948: random_element for QuotientRing
-------------------------------------+-------------------------------------
Reporter: bruno | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: basic arithmetic | Resolution:
Keywords: | Merged in:
Authors: Bruno Grenet | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/bruno/random_element_in_quotient_rings|
6f1b4ec92d6aa6c6885fcd699ba0a0a1c5abe10c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by bruno):
* status: needs_review => needs_work
Comment:
It's not. And I found a bug while adding a new doctest. See the
[https://groups.google.com/forum/#!topic/sage-devel/nc2-I8ZGW8E sage-devel
post]. I'll wait for answers to my question before continuing with this
ticket. Right now, we have the following error:
{{{#!python
sage: R.<x> = QQ[sqrt(2)]
sage: p = x + 1/2
sage: Q = R.quo(p)
sage: Q.random_element()
Traceback (most recent call first):
...
ValueError: reduce only defined for integral ideals
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17948#comment:4>
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.