#20936: Adding conversion for Divide and Product class in Sage/M2 interface
----------------------------------------+---------------------------
Reporter: zonova | Type: enhancement
Status: new | Priority: major
Milestone: sage-7.3 | Component: interfaces
Keywords: Macaulay2, interface | Merged in:
Authors: Saad Khalid | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------------------+---------------------------
This adds the method sage_prodstring(), which is similar to
sage_polystring, except that it is for properly converting the macaulay2
Product object to a string following python's math programming
conventions, so that I could add conversion of Product objects from M2 in
the to_sage() function
There were also additions to the to_sage() function. I added an elif
statement for converting Product objects, and an elif for converting
Divide objects from M2 to Sage. Both of their outputs are as strings.
--
Ticket URL: <https://trac.sagemath.org/ticket/20936>
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.