Changes between Initial Version and Version 13 of Ticket #9424


Ignore:
Timestamp:
12/01/14 10:21:25 (7 years ago)
Author:
rws
Comment:

Replying to kcrisman:

Maybe it's time we fixed this.

It is not clear if forcing people to use N() and getting a float, even if there is an integer simplification of the sum, is the right thing to do. Granted, the error thrown on N(I(10)) is a bug, and this ticket is about it. Here is a minimal example:

sage: (k,n) = var('k,n')
sage: f(n)=sum(abs(-k*k+n),k,1,n)
sage: f(n=8)
sum(abs(-k^2 + 8), k, 1, 8)
sage: N(f(8))

However, I would expect f(n=8).simplify() or .expand() to give me the result 162, and this is #17422

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9424

    • Property Status changed from new to needs_work
    • Property Cc whuss kcrisman eviatarbach added
    • Property Summary changed from numerical evaluation of symbolic sums to FP evaluation of symbolic sums fails
    • Property Milestone changed from sage-5.11 to sage-6.4
    • Property Type changed from defect to enhancement
  • Ticket #9424 – Description

    initial v13  
    2222
    2323http://groups.google.com/group/sage-support/t/615b15ca638c9652
     24
     25See also #17422