#14217: basic iteration functionality for affine and projective morphisms
-----------------------------------------------------------+----------------
Reporter: bhutz | Owner:
bhutz
Type: enhancement | Status:
new
Priority: major | Milestone:
sage-5.8
Component: algebraic geometry | Resolution:
Keywords: iteration, dynamics, projective, affine | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Ben Hutz | Merged in:
Dependencies: #13130 | Stopgaps:
-----------------------------------------------------------+----------------
Comment (by chapoton):
Found some typos:
* homoenize
* coordiante (several times)
* coordiantes (several times)
* generatred
* dehomgenize
For arxiv references, you may use the syntax {{{:arxiv:`1210.6246`}}}
You should write
{{{
.. TODO::
}}}
One suggestion of shorter (equivalent) code for the hash function of
points over finite fields
{{{
p = self.codomain().base_ring().order()
N = self.codomain().ambient_space().dimension_relative()
return sum(hash(self[i])*p**i for i in range(N+1))
}}}
I suggest (but this is optional) to use the Python3 syntax for the raise
statements:
{{{
raise ValueError("can not dehomogenize at 0 coordinate")
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14217#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 http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.