May
17
comment Retrieve value from interpolated function
can you be a bit more specific for 'does not work': produces wrong results, gives an error (what is the traceback) etc?
May
15
comment Numpy high precision
Your updated code complains that conversion from a float to a Decimal is not allowed. At any rate, I agree with @jordeca that a more helpful example would be to show how float64 is not enough. Moreover, I'd check (i) whether longdouble is not enough, and (ii) whether a problem persists if you use scipy.interp1d instead of numpy.interp.
May
15
comment python sqllite cache in memory
If you really need this (measure!), you can try using an in-memory sqlite DB (":memory:"), and dump its contents periodically to an on-disk DB.
May
15
comment Numpy high precision
can you provide a small self-contained example demonstrating the problem?
May
15
comment Numpy high precision
Have you tried using numpy.longdouble as a dtype? mail.scipy.org/pipermail/scipy-dev/2008-March/008562.html
May
13
comment How to make plot of m x n matrix in python
didn't know about this, thanks! (+1)
May
13
answered Python / Scipy - implementing optimize.curve_fit 's sigma into optimize.leastsq
May
13
answered How to make plot of m x n matrix in python
May
13
comment How to make plot of m x n matrix in python
show us your code which plots nothing.
May
12
comment Improved Newton method using Bisection method in Python
if you want to just implement some method from Numerical Recipes which you keep on linking, what exactly is the question you're asking?
May
12
comment Improved Newton method using Bisection method in Python
The point I'm trying to make is simple: do not bother implementing own solvers unless absolutely necessary (read: unless available solutions run out of steam).
May
12
answered Improved Newton method using Bisection method in Python
May
11
answered matplotlib fill_between issue with x argument
May
10
answered Numpy Routine for Computing Matrix Minors?
May
8
comment Numpy interp not interpolating/extrapolating the values, only finding if the data point is above or below the max empirical value
the docs mention that the xp values must be increasing. Have tried sorting the array?
May
7
accepted What is the difference between np.sum and np.add.reduce?
May
7
asked What is the difference between np.sum and np.add.reduce?
May
6
comment List all subroutines in a fortran module
grep subroutine filename.f?
May
3
comment Numerical integration of a discontinuous function in multiple dimensions
Having never used VEGAS, I've only very vague idea of its strengths and/or weaknesses. A simple guided sampling may or may not be better: I just don't know how it behaves in presence of singularities. Devil's in the details, and here a simplest guided sampling might or might not be better.
May
3
answered Numerical integration of a discontinuous function in multiple dimensions
1 2 3 4 5