#19635: Enumeration functionality for products of projective spaces over fields
and
finite fields
-------------------------------------+-------------------------------------
Reporter: gjorgenson | Owner:
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-7.1
Component: algebraic | Resolution:
geometry | Merged in:
Keywords: | Reviewers: Ben Hutz
Authors: Grayson Jorgenson | Work issues:
Report Upstream: N/A | Commit:
Branch: | 449d0738bfd0d9e85deea38f5ff94cdf1356e745
u/gjorgenson/ticket/19635 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by bhutz):
The need to use copy() in the iterator was bothering me and this seems to
be a more endemic problem. If you initialize a point with a list of points
and change an element of that list, it changes the point. This does not
seem like desired behavior as it does not behave like that for regular
projective points.
{{{
P=ProjectiveSpace(1,QQ,'x')
P2=ProjectiveSpace(1,QQ,'y')
PP=P2.cartesian_product(P)
Q=P(1,1)
Q2=P2(0,1)
M=[Q2,Q]
QQ=PP(M);print QQ
M[0]=P2([1,1]);print QQ
}}}
Consequently, I think the copy needs to be somewhere in _init_
--
Ticket URL: <http://trac.sagemath.org/ticket/19635#comment:6>
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.