Thank you all for your valuable input. Learned something 'bout Numeric
again. And my problem is solved ;-).
Thanks
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Hi,
For compatibility reasons (work with Biopython) I would like to use to
Numeric in some code of mine. (Of course, I could make a little detour
converting into numpy.array, but first I wonder whether somebody might
know a solution for the problem with Numeric.)
I need to flatten a simple 3x3 ar
Hi
Thanks for all your suggestions.
Christian
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion
> Try searchsorted.
Thanks, but that doesn't work. Sorry, if my question wasn't clear.
To illustrate the requirement:
For instance:
>>> a
array([ 0. , 0.1, 0.2, 0.3, 0.4])
>>> # should be 1
...
>>> a.searchsorted(0.11)
2
>>> # should be 2
...
>>> a.searchsorted(0.16)
2
I could correct for one
Hi
This questions might seem stupid, but I didn't get a clever solution myself,
or found one in the archives, the cookbook, etc. . If I overlooked something,
please give a pointer.
Well, if I have an 1D array like
[ 0. , 0.1, 0.2, 0.3, 0.4, 0.5]
,a scalar like 0.122 and want to retrieve th
Hoi Nils,
I'm still with 10.0 on my machine, but perhaps this helps:
I followed exactely the instructions given here:
http://pong.tamu.edu/tiki/tiki-view_blog_post.php?blogId=6&postId=97
and also sticked exactly to the recommended compiler flags given here:
http://www.scipy.org/Installing_SciPy/Bu
Hi
I was looking for a guide how to migrate old numeric code to numpy and
couldn't find anything on the web. Any pointers for me?
TIA and sorry for bothering, since this surely was discussed already,
Christian
___
Numpy-discussion mailing list
Numpy-di