[Numpy-discussion] saving the lower half of matrix

2013-06-17 Thread Bala subramanian
Friends, I have to save only the lower half of a symmetric matrix to a file. I used numpy.tril to extract the lower half. However when i use 'numpy.savetxt', numpy saves the whole matrix (with upper half values replaced as zeros) rather than only the lower half. Any better idea to achieve this. as

Re: [Numpy-discussion] numpy import problem

2008-06-02 Thread Bala subramanian
Dear David, I gave the following and pressed TAB, it seems that i have two python installation in my linux. $ python python python2 python2.2 python2.4 pythonsh When i give python, python 2.4.3 interpreter opens When i give python2, python 2.2.3 interpreter opens The default is python 2.4.3.

Re: [Numpy-discussion] numpy import problem

2008-06-01 Thread Bala subramanian
ing I can think of is that you might have multiple versions of > Python installed. For example, I have Python 2.4 and 2.5 on my > machine, but numpy is only installed for 2.5. Since just running > "python" brings up 2.4, sometimes I find myself in the wrong > interpreter

[Numpy-discussion] numpy import problem

2008-05-31 Thread Bala subramanian
Dear friends, I installed numpy in a 32-bit machines running with RHEL3. The installation was successful. I tested the installtion by importint numpy inside python interpreter. By once i shutdown the system and restart, and try the same, it says ImportError: No module named numpy. What could be t

Re: [Numpy-discussion] numpy in RHEL4

2008-05-06 Thread Bala subramanian
Dear Robert, Thank you. But i am trying to install it in a 32-bit machine only. In that case, why dose it require 64 bit libraries. Bala On Mon, May 5, 2008 at 10:47 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > On Mon, May 5, 2008 at 6:14 AM, Bala subramanian > <[EMAIL PR

[Numpy-discussion] numpy in RHEL4

2008-05-05 Thread Bala subramanian
Dear friends, I am trying to install numpy version numpy-1.0.4 in RHEL 4. My python version is 2.3.4. While installation, it throws me the following error and stops. Kindly write me how to get rid of this. Thanks, Bala -