#17324: implement eq and ne for affine morphisms
--------------------------------------+----------------------------
Reporter: bhutz | Owner: bhutz
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-6.4
Component: algebraic geometry | Resolution:
Keywords: | Merged in:
Authors: Ben Hutz | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
--------------------------------------+----------------------------
Changes (by {'newvalue': u'Ben Hutz', 'oldvalue': ''}):
* status: new => needs_review
* author: => Ben Hutz
Old description:
> Currently the following code fails because the domains don't match up.
>
> {{{
> P.<x,y,z> = ProjectiveSpace(QQ,2)
> H=Hom(P,P)
> f = H([x^2 - 2*x*y + z*x, z^2 -y^2 , 5*z*y])
> f.dehomogenize(2).homogenize(2)==f
> }}}
>
> The fix is to use projective embedding and currently it also doesn't take
> into account the possibility of a different domain and codomain.
New description:
Currently the following code fails because eq is inherited from somewhere
else.
{{{
P.<x,y,z> = ProjectiveSpace(QQ,2)
H=Hom(P,P)
f = H([x^2 - 2*x*y + z*x, z^2 -y^2 , 5*z*y])
f.dehomogenize(2).homogenize(2)==f
}}}
Actually, it seems that eq and ne are not well done in projective_morphism
either (the doc tests test the wrong functionality and it returns an error
if the coordinates rings are different).
--
--
Ticket URL: <http://trac.sagemath.org/ticket/17324#comment:1>
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.