Opened 3 years ago

Last modified 3 years ago

#22920 new defect

Maxima library interface is broken for symbolic sums

Reported by: charpent Owned by:
Priority: major Milestone: sage-8.0
Component: interfaces Keywords: symbolics
Cc: rws Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by rws)

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.

Change History (3)

comment:1 Changed 3 years ago by charpent

  • Cc rws added

comment:2 Changed 3 years ago by rws

The product part is #17502.

comment:3 Changed 3 years ago by rws

  • Description modified (diff)
  • Summary changed from Maxima library interface is broken for symbolic sums and products to Maxima library interface is broken for symbolic sums
Note: See TracTickets for help on using tickets.