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

On Thu, Dec 10, 2015 at 9:09 PM, buzhidao <[email protected]> wrote:
> 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.
>
>
> --
> 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/e4a77258-91b0-47b4-99cb-11e143b216c1%40googlegroups.com.
> 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%3D6%2BjqWdkRQ79nCgASJ2ezgevvbpN1WaKYOfXTZoTNXZR_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to