Re: [Numpy-discussion] Compiling numpy using icc gets missing library error

2011-03-27 Thread Hoyt Koepke
> Thanks for the thorough description of getting everything to work. You're welcome. I'm glad people find it helpful :-). >> -ipo -- okay for linker / c++, but not elsewhere.  For C, it causes >> the long_double_representation() function in setup_common() to fail >> (I'll note this on the corres

Re: [Numpy-discussion] Compiling numpy using icc gets missing library error

2011-03-27 Thread Ralf Gommers
Hi Hoyt, Thanks for the thorough description of getting everything to work. On Sat, Mar 26, 2011 at 12:14 AM, Hoyt Koepke wrote: > Okay, even better news.  After a little bit of probing around, it > turns out that some of the errors, namely the one in the interpolator, > were due to intel's hand

Re: [Numpy-discussion] Array views

2011-03-27 Thread Sturla Molden
Den 26.03.2011 19:31, skrev Christopher Barker: > To understand all this, you'll need to study up a bit on how numpy > arrays lay out and access the memory that they use: they use a concept > of "strided" memory. It's very powerful and flexible, but most other > numeric libs can't use those same d

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-27 Thread Paul Anton Letnes
On 26. mars 2011, at 21.44, Derek Homeier wrote: > Hi Paul, > > having had a look at the other tickets you dug up, > >> My opinions are my own, and in detail, they are: >> 1752: >> I attach a possible patch. FWIW, I agree with the request. The >> patch is written to be compatible with the f

[Numpy-discussion] histogram normed/density keyword (#1628)

2011-03-27 Thread Ralf Gommers
Hi all, For the 1.6 release #1628 needs to be resolved. A while ago there was a discussion about the normed keyword in histogram, which ATM has changed behavior compared to numpy 1.5.1. The preferred fix as I read the discussion (http://thread.gmane.org/gmane.comp.python.numeric.general/39746/foc

Re: [Numpy-discussion] Please help me

2011-03-27 Thread dileep kunjaai
Thank you sir thank you very much.. sir i got a new flexible command: >>> delete(a, s_[1:3], axis=1) # remove columns 1 and 2 http://www.scipy.org/Numpy_Example_List#head-2413c07da8954330701674ff8e950c4505665be1 On Sun, Mar 27, 2011 at 1:18 PM, andrew nelson wrote: >

Re: [Numpy-discussion] Please help me

2011-03-27 Thread andrew nelson
I think A[:,0:2] should give you what you want. On 27/03/2011, at 6:24 PM, dileep kunjaai wrote: > Dear sir, > Can we take a numpy array excluding particular columns > Example: > A=[[ 20. 71. 57.5] > [ 21. 71. 56. ] > [ 22. 71. 74.3] > [ 23. 71. 66. ] > [ 24. 71. 96.5] >

[Numpy-discussion] Please help me

2011-03-27 Thread dileep kunjaai
Dear sir, Can we take a numpy array excluding particular columns Example: A=[[ 20. 71. 57.5] [ 21. 71. 56. ] [ 22. 71. 74.3] [ 23. 71. 66. ] [ 24. 71. 96.5] [ 25. 71. 61.7] [ 20. 72. 72.9] (Here i am give up the last column) The answer should be [[ 20. 71. ]