#18920: upgrade Maxima to 5.36.1
-------------------------------------+-------------------------------------
Reporter: dimpase | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.8
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/dimpase/eclupdate | 0d0649ad925808a308084b04253d7eb5c3fe2fad
Dependencies: #18961 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by nbruin):
Of course, the expression type that gets constructed for `li` and `psi` is
more general:
{{{
sage: maxima_calculus("a[1](x)")
a[1](x)
sage: maxima_calculus("a[1](x)").ecl()
<ECL: ((MQAPPLY SIMP) (($A SIMP ARRAY) 1) $X)>
}}}
but we already fail with that (because we carefully only convert `li[` and
`psi[`):
{{{
sage: SR(maxima_calculus("a[1](x)"))
TypeError: unable to make sense of Maxima expression 'a[1](x)' in Sage
}}}
Since square brackets are really part of Maxima's expression syntax, the
proper solution would be to have a parser that can handle them. The
following seems valid maxima:
{{{
sage: maxima_calculus("(sin(x)+cos(y))[tan(u)[3/(a+b)]+log(w)](t)")
(cos(y)+sin(x))[log(w)+tan(u)[3/(b+a)]](t)
}}}
and parsing that with anything less than parser support for `[` will be.
Of course, without `[]` support on the side of pynac, we'd have to parse
`a[n]` to something like `get_item(a,n)` but that would be fine (and then
`get_item` can have the right logic to actually resolve in relevant cases,
but this would be more an extension of our symbolic expressions before
it's a parsing issue for maxima)
--
Ticket URL: <http://trac.sagemath.org/ticket/18920#comment:38>
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.