[Numpy-discussion] NumPy 1.0.3 release tomorrow, SciPy 0.5.3 next week

2007-05-22 Thread Travis Oliphant
I'd like to tag the tree and make a NumPy 1.0.4 release tomorrow. Is there anything that needs to be done before that can happen? I'd also like to get another release of SciPy out the door as soon as possible. At the end of this week or early next week. I've added a bunch of 1-d classic spl

[Numpy-discussion] More help with numpy and SWIG

2007-05-22 Thread vallis . 35530053
Hello, I am trying to use numpy in conjuction with a custom SWIGged C struct (real_vec_t) that contains array data. I'd like to use the array interface to share the array data between real_vec_t and numpy. I have two questions for a combined numpy/SWIG magician: - This is how I implement the arra

Re: [Numpy-discussion] MAX_INT?

2007-05-22 Thread Bill Baxter
Great. Thanks! Is there a plan to expose that as numpy.iinfo? --bb On 5/23/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > Is there a way to obtain the equivalent of MAX_INT for the integral > > types numpy knows about? > > > > I know about numpy.finfo for the floating point t

Re: [Numpy-discussion] MAX_INT?

2007-05-22 Thread Robert Kern
Bill Baxter wrote: > Is there a way to obtain the equivalent of MAX_INT for the integral > types numpy knows about? > > I know about numpy.finfo for the floating point types, but is there > anything like that for integral types? SVN numpy has numpy.lib.getlimits.iinfo(), now. -- Robert Kern "I

[Numpy-discussion] MAX_INT?

2007-05-22 Thread Bill Baxter
Is there a way to obtain the equivalent of MAX_INT for the integral types numpy knows about? I know about numpy.finfo for the floating point types, but is there anything like that for integral types? Thanks, --Bill ___ Numpy-discussion mailing list Nump

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Gong, Shawn (Contractor)
Sorry forgot to mention that Python was installed "with-thread=no" as it is required for OpenEV application. I remember that when I installed numarray I had to set "--unthreaded" Maybe I need to do the same thing. Can someone tell me how to set this flag? Thanks, Shawn -Original Message--

Re: [Numpy-discussion] numpy and freeze.py

2007-05-22 Thread Mark Janikas
I cant be sure if your issue is related to mine, so I was wondering where/when you got your numpy build? My issue: http://projects.scipy.org/pipermail/numpy-discussion/2007-April/027000.h tml Travis has been kind enough to work with me on it. His changes are in the svn. So, I don't think this i

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Gong, Shawn (Contractor)
Thank you David M. Cooke and Robert. Now I changed directory and ran python, Got further and hit this error message: >python Python 2.3.6 (#9, May 18 2007, 10:22:59) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-53)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > Hi Robert > "Running from numpy source directory" message also appears when I > installed numpy. Yes, that's fine. Like I said, it is used for bootstrapping the installation. > I am running python 2.3.6, not 2.4 I don't see how that is relevant. > You said "It

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread David M. Cooke
On Tue, May 22, 2007 at 01:11:35PM -0400, Gong, Shawn (Contractor) wrote: > Hi Robert > "Running from numpy source directory" message also appears when I > installed numpy. > I am running python 2.3.6, not 2.4 Just what it says; the current directory is the directory that the numpy source is in. I

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Gong, Shawn (Contractor)
Hi Robert "Running from numpy source directory" message also appears when I installed numpy. I am running python 2.3.6, not 2.4 You said "It is picking up the partial numpy package in the source". Do you mean it is picking up the partial numpy package from python 2.3.6 ? How do I change out of

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > 2) Then in Python, when I type "import numpy" > It says: Running from numpy source directory > Then I type "numpy.sqrt(5)" > AttributeError: 'module' object has no attribute 'sqrt' > I assume that this means numpy was not installed successfully. No, it means that

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Gong, Shawn (Contractor)
Robert, 1) this is the first a few lines of the out.txt when I type "python setup.py install >out.txt" : (I'm not sure if "libraries mkl,vml,guide not found" means trouble or not) F2PY Version 2_3473 blas_opt_info: blas_mkl_info: libraries mkl,vml,guide not fou

Re: [Numpy-discussion] FW: RE: Linux numpy 1.0.1 install failed

2007-05-22 Thread Robert Kern
Gong, Shawn (Contractor) wrote: > Hi Robert, > > I used exactly your text in site.cfg. The out.txt seems to get the > lib_dir, but "import numpy" in python stills gives error. *What* error? Please copy-and-paste the complete error message. > Please see the attached files. > Should I ask system g

[Numpy-discussion] numpy and freeze.py

2007-05-22 Thread Hanno Klemm
Hi, I want to use freeze.py on code that heavily relies on numpy. If I just try python2.5 /scratch/src/Python-2.5/Tools/freeze/freeze.py pylay.py the make works but then I get the error: Traceback (most recent call last): File "pylay.py", line 1, in import kuvBeta4 as kuv File "kuvBe

Re: [Numpy-discussion] array vs. matrix performance

2007-05-22 Thread Robert Cimrman
Re-hi, thanks for all the comments. I have re-tried with X = nm.random.rand( 1, 3 ) and the times (in seconds) were: 428.588043213 # scipy.dot, array 445.045716047 # numpy.dot, array 519.489458799 # scipy.dot, matrix 513.328601122 # numpy.dot, matrix The scipy.dot and numpy.dot performs the