Conversion of incomplete gamma function to sympy not working

21 views
Skip to first unread message

Liang

unread,
Sep 1, 2016, 6:25:07 PM9/1/16
to sage-support
I'm using Sage 6.10. The following code would raise an error:

var('x')

y=gamma(-1,x)
y._sympy_()

Error:
TypeError: gamma takes exactly 1 argument (2 given)


Apparently sympy defined upper and lower incomplete gamma function. The sage to sympy conversion of gamma function tried to convert the incomplete gamma function of sage to the gamma function of sympy. 

Vincent Delecroix

unread,
Sep 1, 2016, 6:31:31 PM9/1/16
to sage-s...@googlegroups.com
It behaves the same on 7.4.beta2.

Vincent

Ralf Stephan

unread,
Sep 3, 2016, 3:17:07 AM9/3/16
to sage-support
Reply all
Reply to author
Forward
0 new messages