Are you using SymPy at all here or just mpmath? If it's just mpmath, you
may have better luck on the mpmath mailing list
https://groups.google.com/forum/#!forum/mpmath.

Aaron Meurer



On Fri, Aug 14, 2015 at 12:56 PM, saad khalid <[email protected]> wrote:

> Hello everyone! My professor challenged me to show him that
> non-mathematica applications could do the computing that he needs(I'm
> trying to convert the college from Mathematica to something open source).
> He wants a plot of q-gamma with x=.5, and q going from 0 to .99. My code is
> as follows:
>
> from mpmath import *
> plot(qgamma((.5,x), (x, 0, .99)))
>
> When I run that, I am getting the error:
> "TypeError: cannot convert 0.500000000000000 to an integer"
>
> Would you know what's wrong here? I'm sorry if this is a basic question,
> I'm rather new to all of this. Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/78318497-0871-4245-b3af-98770cec5387%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/78318497-0871-4245-b3af-98770cec5387%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6Lj-n97Mj9VHne-pdR2GUGAXuFzf7_oF--PqWVS_VtnUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to