Opened 9 years ago

Last modified 8 years ago

#15354 new defect

Make elliptic_j function symbolic

Reported by: David A. Madore 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:

Status badges

Description (last modified by Ralf Stephan)

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 9 years ago by For batch modifications

Milestone: sage-6.1sage-6.2

comment:2 Changed 9 years ago by For batch modifications

Milestone: sage-6.2sage-6.3

comment:3 Changed 8 years ago by Jeroen Demeyer

Summary: elliptic_j function should not compute numerically unless asked forMake elliptic_j function symbolic

comment:4 Changed 8 years ago by For batch modifications

Milestone: sage-6.3sage-6.4

comment:5 Changed 8 years ago by Ralf Stephan

Description: modified (diff)
Keywords: elliptic modular added
Priority: minormajor
Note: See TracTickets for help on using tickets.