Can't involk mpmath after successfully installed sympy

27 views
Skip to first unread message

buzhidao

unread,
Dec 10, 2015, 10:43:35 PM12/10/15
to sympy
I have asked this question on stackexchange overflow. The link is: here .

It got not much attention, so I ask it here.

Please don't be annoyed. If I got an answer in either place, I'll link it to the other one.


Aaron Meurer

unread,
Dec 10, 2015, 10:50:25 PM12/10/15
to sy...@googlegroups.com
In the development version of SymPy, which is what you have installed,
sympy.mpmath has been removed. mpmath is now an external library, so
you need to install and import it separately, as you have done.

The two versions are exactly the same (there haven't been any mpmath
releases in a while).

mpmath doesn't support numpy arrays, as far as I know. You need to use
scipy.special if you want to do that. You should only use mpmath if
you are interested in multiprecision floats (beyond machine
precision). If you are interested in that, you can also use
sympy.Float, which is a wrapper around mpf which plays nicely with
SymPy objects.

Aaron Meurer
> --
> 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 sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> 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/e4a77258-91b0-47b4-99cb-11e143b216c1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Denis Akhiyarov

unread,
Dec 11, 2015, 11:19:26 AM12/11/15
to sympy
what do you mean by "mpmath doesn't support numpy arrays"?

is this not enough?

Reply all
Reply to author
Forward
0 new messages