#14155: gcd for IntegerMod
------------------------------------+---------------------------------------
Reporter: roed | Owner: AlexGhitza
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.8
Component: basic arithmetic | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: David Roe | Merged in:
Dependencies: | Stopgaps:
------------------------------------+---------------------------------------
Comment (by spice):
Changed some of the wording in the documentation of ``self.gcd()``:
{{{
This returns the "smallest" representative generating the same
ideal as this one in `\ZZ / N\ZZ`.
}}}
becomes
{{{
Returns the "smallest" generator in `\ZZ / N\ZZ` of the ideal
generated by ``self`` and ``other``.
}}}
and for clarity the line in the doctest
{{{
sage: mod(72*5, 3^3*2^2*17^8).gcd(mod(48*17, 3^3*2^2*17^8))
}}}
to
{{{
sage: mod(2^3*3^2*5, 3^3*2^2*17^8).gcd(mod(2^4*3*17, 3^3*2^2*17^8))
}}}
I also made the analogous changes in the other 2 versions of
``self.gcd()``.
Otherwise fine.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14155#comment:7>
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.