#17287: K.is_subring(K) not implemented for some fields K
---------------------------+----------------------------
Reporter: mjo | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: algebra | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
---------------------------+----------------------------
This seems like it should be an easy special case `if self == foo` right
before we raise the `NotImplementedError`.
A few examples:
{{{
sage: QQbar.is_subring(QQbar)
...
NotImplementedError
}}}
{{{
sage: RR.is_subring(RR)
...
NotImplementedError
}}}
{{{
sage: CC.is_subring(CC)
...
NotImplementedError
}}}
{{{
sage: K.<a> = NumberField(x^3-x+1/10)
sage: K.is_ring()
True
sage: K.is_subring(K)
...
NotImplementedError
}}}
{{{
sage: R.<x> = RR[]
sage: R
Univariate Polynomial Ring in x over Real Field with 53 bits of precision
sage: R.is_ring()
True
sage: R.is_subring(R)
...
NotImplementedError
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17287>
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.