mpmath Questions
1
Solved
I have written a function to compute the Laplace transform of a function using scipy.integrate.quad. It is not a very sophisticated function and currently performs poorly on the probability density...
Distinctive asked 21/10, 2020 at 11:28
2
Solved
I'm working with mpmath python library to gain precision during some computations, but i need to cast the result in a numpy native type.
More precisely i need to cast an mpmath matrix (that contai...
Feucht asked 11/2, 2015 at 4:20
2
I have a numpy array A with mpf elements that have decimal precision 100. Is this precision cast away if I decide to take the numpy dot product of A with itself?
If this is the case, is there any ...
1
This is my first attempt to use JIT for python and this is the use case I want to speed up. I read a bit about numba and it seemed simple enough but the following code didn't provide any speedup. P...
2
Solved
I want to use the jacobDN function in sympy, so I download it and python setup.py install it, successfully.
When I want to use it as in the documentation does:
>>> from sympy.mpmath impo...
1
Solved
I have some calculations that involve factorials that explode pretty fast so I resolved to use the arbitrary precision library mpmath.
The code I have looks like this:
import numpy as np
import m...
3
Solved
What is the proper way in Python to allow the user to extend the types on which a function can operate without altering the original code of the function?
Suppose I have a module with a my_module....
5
Solved
In matlab there is a special function which is not available in any of the collections for the Python I know (numpy, scipy, mpmath, ...).
Probably there are other places where functions like this...
3
Solved
I am looking to perform element-wise mpmath operations on Python arrays. For example,
import mpmath as mpm
x = mpm.arange(0,4)
y = mpm.sin(x) # error
Alternatively, using mpmath matrices
x = mp...
1
© 2022 - 2025 — McMap. All rights reserved.