#12295: maple interface broken
-------------------------+-------------------------------------------------
Reporter: | Owner: was
sluther | Status: needs_info
Type: | Milestone: sage-6.4
defect | Resolution:
Priority: major | Merged in:
Component: | Reviewers:
interfaces | Work issues:
Keywords: maple | Commit:
interface | 67871caedf019bbefec1c8127e65a226169c8a4d
Authors: J | Stopgaps:
Miguel Farto |
Report Upstream: N/A |
Branch: |
u/chapoton/12295 |
Dependencies: |
-------------------------+-------------------------------------------------
Comment (by mmezzarobba):
Replying to [comment:22 migeruhito]:
> I performed my tests with maple 11. Prior to Maple 12, the only sort
option available is session dependent, and I think `--setsort` option is
not available at all. By including it, we will probably break the
interface for older versions of maple. In the other hand, `--setsort=1`
seems to be deterministic for these examples as mmezzarobba said, but it
is the default from version 12. `sort()` is not necessary in this case.
Yes, I forgot that `setsort=1` was in fact the default. However, while
''sets'' are sorted by default under recent versions of Maple, it looks
like expressions aren't. For example, with MapleĀ 17, I get:
{{{
$ maple -t
#-->sin(x^2)+y^z;
sin(x^2)+y^z
#-->{sin(x^2),y^z};
{y^z, sin(x^2)}
#-->sort(%%);
y^z+sin(x^2)
}}}
So I would say that adding the command-line option is indeed not
necessary, but we do need to call `sort()` to make the tests deterministic
under Maple 12+.
> I believe that maple expressions are ordered like sets, but not sure).
Same for me.
--
Ticket URL: <http://trac.sagemath.org/ticket/12295#comment:24>
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/d/optout.