Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maxima library interface is broken for symbolic sums #22920

Open
EmmanuelCharpentier mannequin opened this issue May 1, 2017 · 2 comments
Open

Maxima library interface is broken for symbolic sums #22920

EmmanuelCharpentier mannequin opened this issue May 1, 2017 · 2 comments

Comments

@EmmanuelCharpentier
Copy link
Mannequin

EmmanuelCharpentier mannequin commented May 1, 2017

sage: var("j,p", domain="integer")
(j, p)
sage: X=function("X")

Compare :

sage: foo=sum(X(j),j,1,p);foo
sum(X(j), j, 1, p)
sage: bar=maxima("sum(X(j),j,1,p)").sage();bar
sum(X(j), j, 1, p)
sage: bool(foo==bar)
True

with

sage: gee=X(j).maxima_methods().sum(j,1,p);gee
p*X(j)                   ## Nonsense...
sage: bool(foo==gee)
False

The problem also exists with products, see #17502 and #17505.

CC: @rwst

Component: interfaces

Keywords: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/22920

@EmmanuelCharpentier EmmanuelCharpentier mannequin added this to the sage-8.0 milestone May 1, 2017
@rwst
Copy link
Contributor

rwst commented May 2, 2017

comment:2

The product part is #17502.

@rwst

This comment has been minimized.

@rwst rwst changed the title Maxima library interface is broken for symbolic sums and products Maxima library interface is broken for symbolic sums May 5, 2017
@mkoeppe mkoeppe removed this from the sage-8.0 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants