#15559: Allow calling PARI's gcd and lcm with one argument
-------------------------------------+-------------------------------------
Reporter: pbruin | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.1
Component: interfaces | Resolution:
Keywords: pari | Merged in:
Authors: Peter Bruin | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/pbruin/15559-pari_gcd_lcm | 0cd4596cc0ddac7a17492cf6c5271a2314818da6
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by pbruin):
Replying to [comment:2 ppurka]:
> The patchbot report is a bit weird, so I hope we can safely ignore it.
Other than that, can you include just one more doctest to show that
symbolic variables can be used? I have something like this in mind:
> {{{
> sage: pari([10, 'x', x^2, 20]).lcm()
> 20*x^2
> sage: pari([10, 'x', x^2]).gcd()
> 1
> }}}
I added two doctests that are very similar to these. We can probably
ignore the patchbot, as it includes heaps of other commits.
--
Ticket URL: <http://trac.sagemath.org/ticket/15559#comment:4>
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/groups/opt_out.