Re: [Numpy-discussion] Where can I download numpy.i?

2011-02-26 Thread Bill Spotz
When you download numpy, it should be in doc/swig/numpy.i On Feb 26, 2011, at 6:15 PM, Brandt Belson wrote: > I just want to know exactly how to get the file numpy.i (for SWIG), I've come > across links that seem to take me nowhere. > Thank you. ** Bill Spotz

[Numpy-discussion] Where can I download numpy.i?

2011-02-26 Thread Brandt Belson
I just want to know exactly how to get the file numpy.i (for SWIG), I've come across links that seem to take me nowhere. Thank you. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Largest possible numpy array

2011-02-26 Thread Sturla Molden
Den 26.02.2011 16:09, skrev Jaidev Deshpande: > Hi > > How can I know the size of the largest possible 2-D array in numpy, > given a specific 'dtype' and my system memory? > The largest array size is not dicatated by system memory but virtual memory. On Windws the available virtual address space

[Numpy-discussion] Largest possible numpy array

2011-02-26 Thread Jaidev Deshpande
Hi How can I know the size of the largest possible 2-D array in numpy, given a specific 'dtype' and my system memory? How can one play around with this? Would it help to note that the array might be say *m* megabytes on disk, say, *n* % sparse? Also, is there some good literature about the large

[Numpy-discussion] How recreated a integer list with a generator?

2011-02-26 Thread Mario Moura
Hi Folks How recreated a integer list with generator? import random tmp = [] for x in range(0,600): tmp.append(random.randint(0,5000)) tmp = list(set(tmp)) tmp.sort() Should be possible recreated this list using same magic math formula or numpy array? Can I create a generator? How? Wh

[Numpy-discussion] Grid indexing

2011-02-26 Thread Wolfgang Kerzendorf
Hello, I have a n dimensional grid. The grids axes are linear but not intergers. Let's say I want the value in gridcell [3.2,-5.6,0.01]. Is there an easy way to transform the index? Do I have to write my own class to accomplish this. Is there an easy way in numpy to accomplish this. Can I give