Opened 7 years ago

Last modified 6 years ago

#15354 new defect

Make elliptic_j function symbolic

Reported by: davidamadore Owned by:
Priority: major Milestone: sage-6.4
Component: symbolics Keywords: special function, elliptic, modular
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by rws)

Sage's elliptic_j function does not behave similarly to the other standard or special functions: it tries to numerically evaluate instead of building a symbolic expression:

sage: elliptic_j(I)
sage: elliptic_j(x)
TypeError                                 Traceback (most recent call last)
TypeError: Cannot evaluate symbolic expression to a numeric value.

This is very weird: it means, for example, that plot(real(elliptic_j(x+I)), (x,0,1)) will fail (instead, one must use plot(lambda t: real(elliptic_j(t+I)), (0,1)))

Change History (5)

comment:1 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:2 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:3 Changed 6 years ago by jdemeyer

  • Summary changed from elliptic_j function should not compute numerically unless asked for to Make elliptic_j function symbolic

comment:4 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:5 Changed 6 years ago by rws

  • Description modified (diff)
  • Keywords elliptic modular added
  • Priority changed from minor to major
Note: See TracTickets for help on using tickets.