Re: [Numpy-discussion] Does float16 exist?

2008-01-09 Thread David M. Cooke
just not included when installed :) -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion

Re: [Numpy-discussion] how to work with mercurial and numpy right now

2008-01-08 Thread David M. Cooke
the tools can specify a svn revision to start from, if you don't need history (or just recent history). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] how to work with mercurial and numpy right now

2008-01-08 Thread David M. Cooke
On Jan 8, 2008, at 07:16 , David Cournapeau wrote: David M. Cooke wrote: AFAIK, all the tools can specify a svn revision to start from, if you don't need history (or just recent history). Are you sure ? bzr-svn does not do it (logically, since bzr-svn can pull/push), and I don't see any

Re: [Numpy-discussion] Error importing from numpy.matlib

2008-01-05 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman

Re: [Numpy-discussion] Moving away from svn ?

2008-01-05 Thread David M. Cooke
between hg repos requires that they have a common ancestor repo (as opposed to two developers independently converting the svn repo). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL

Re: [Numpy-discussion] RAdian -- degres conversion

2007-12-14 Thread David M. Cooke
angle x from degrees to radians Not a big deal, but handy. As I generally like to think if numpy as a superset of the math module, perhaps is should include these too. Done. -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] Changing the distributed binary for numpy 1.0.4 for windows ?

2007-12-10 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] numpy distutils patch

2007-11-19 Thread David M. Cooke
list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] Making a minimalist NumPy

2007-11-04 Thread David M. Cooke
by removing Numeric (2MB). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

Re: [Numpy-discussion] vectorizing loops

2007-11-01 Thread David M. Cooke
with moving it out is that Tim reports the compile times on Windows are ridiculous (20 mins!). Maybe numexpr should become a scikit? It certainly doesn't need the rest of scipy. -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] [SciPy-dev] adopting Python Style Guide for classes

2007-10-04 Thread David M. Cooke
classes are already CamelCase (one exception is weave). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion

Re: [Numpy-discussion] adopting Python Style Guide for classes

2007-10-02 Thread David M. Cooke
could document the lower_case names as deprecated, and alias them to CamlCase versions. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

[Numpy-discussion] As seen on PyPI -- a new bindings generator

2007-09-25 Thread David M. Cooke
like an interesting alternative. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list

Re: [Numpy-discussion] how to include numpy headers when building an extension?

2007-09-11 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http

Re: [Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray = numpy.array typemap to share?

2007-09-07 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman

Re: [Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray = numpy.array typemap to share?

2007-09-07 Thread David M. Cooke
not upgraded to numpy. Even then, their wrappers went through the Python interface, not the C API. So, it's no faster than using Python straight. -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] fast putmask implementation

2007-08-16 Thread David M. Cooke
. python). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http

Re: [Numpy-discussion] Buildbot for numpy

2007-06-16 Thread David M. Cooke
). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] question about numpy

2007-06-15 Thread David M. Cooke
from numpy source directory. ^ don't do that :) Instead, change out of the source directory, and rerun. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] Incompatability of svn 3868 distutils with v10.0 Intel compilers and MKL9.1

2007-06-14 Thread David M. Cooke
-pointer shouldn't be any slower than without the -g. For gcc, -g does what you said. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

[Numpy-discussion] Overview of extra build options in svn's numpy.distutils

2007-06-12 Thread David M . Cooke
refactoring. However, that's a lot of work, and I'm not going to do it right away... -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] numpy r3857 build problem

2007-06-03 Thread David M. Cooke
this surprising. Has there been a change in policy? I'm attaching the build log to this message. Fixed in r3858 -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] build problem on Windows (was: build problemon RHE3 machine)

2007-05-30 Thread David M. Cooke
On Thu, May 31, 2007 at 02:32:21AM +0200, Albert Strasheim wrote: Hello all - Original Message - From: David M. Cooke [EMAIL PROTECTED] To: Discussion of Numerical Python numpy-discussion@scipy.org Sent: Thursday, May 31, 2007 2:08 AM Subject: Re: [Numpy-discussion] build problem

Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-29 Thread David M. Cooke
On May 29, 2007, at 08:56 , Albert Strasheim wrote: Hello all - Original Message - From: David M. Cooke [EMAIL PROTECTED] To: Discussion of Numerical Python numpy-discussion@scipy.org Sent: Friday, May 25, 2007 7:50 PM Subject: Re: [Numpy-discussion] build problem on RHE3 machine

Re: [Numpy-discussion] Numpy 1.0.3 install problem. Help!

2007-05-27 Thread David M. Cooke
will be picked up. Also, check that you don't have a CC environment variable defined (i.e., echo $CC should be blank), as that will overrride the Python Makefile settings. -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread David M. Cooke
know how to compile Fortran code on platform 'posix' This problem is new this morning. Hmm, my fault. I'll have a look. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL

Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread David M. Cooke
know how to compile Fortran code on platform 'posix' This problem is new this morning. Could you send me the results of running with the -v flag? i.e., python setup.py -v build -- ||\/| /--\ |David M. Cooke

Re: [Numpy-discussion] build problem on RHE3 machine

2007-05-25 Thread David M. Cooke
On Fri, May 25, 2007 at 12:45:32PM -0500, Robert Kern wrote: David M. Cooke wrote: On Fri, May 25, 2007 at 07:25:15PM +0200, Albert Strasheim wrote: I'm still having problems on Windows with r3828. Build command: python setup.py -v config --compiler=msvc build_clib --compiler=msvc

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

2007-05-22 Thread David M. Cooke
.. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http

Re: [Numpy-discussion] best way for storing extensible data?

2007-05-18 Thread David M. Cooke
. A list though would use more memory per element as each element is a full Python object. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] howto make from flat array (1-dim) 2-dimensional?

2007-05-13 Thread David M. Cooke
] Out[3]: array([[ 1.], [ 2.], [ 3.]]) In [4]: a[newaxis,:] Out[4]: array([[ 1., 2., 3.]]) When newaxis is used as an index, a new axis of dimension 1 is added. -- ||\/| /--\ |David M. Cooke

Re: [Numpy-discussion] NumPy 1.0.3 release next week

2007-05-11 Thread David M. Cooke
). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo

Re: [Numpy-discussion] Difference in the number of elements in a fromfile() between Windows and Linux

2007-05-04 Thread David M. Cooke
directly to fscanf to skip over it, using a % in your separator will not work. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED

Re: [Numpy-discussion] Difference in the number of elements in a fromfile() between Windows and Linux

2007-05-04 Thread David M. Cooke
). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Oddity with numpy.int64 integer division

2007-04-24 Thread David M. Cooke
that the invariant holds, but we don't agree with Python in either / or %. Comments? On Mon, 23 Apr 2007, David M. Cooke wrote: On Apr 23, 2007, at 16:41 , Christian Marquardt wrote: On Mon, April 23, 2007 22:29, Christian Marquardt wrote: Actually, it happens for normal integers as well: n

Re: [Numpy-discussion] Oddity with numpy.int64 integer division

2007-04-23 Thread David M. Cooke
? I would think both should give the same, really... (Python 2.5, numpy 1.0.3dev3725, Linux, Intel compilers...) Many thanks for any ideas / advice, Christian -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] Building numpy on Solaris x86 with sun CC and libsunperf

2007-04-19 Thread David M. Cooke
in numpy.distutils.system_info -- they hardcode using Fortran. At some point, system_info will get some more lovin' -- it should be refactored to be more consistent. - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca

Re: [Numpy-discussion] Problems building numpy and scipy on AIX

2007-04-19 Thread David M. Cooke
. - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [Numpy-discussion] Question about Optimization (Inline, and Pyrex)

2007-04-18 Thread David M. Cooke
to that of weave. I've been thinking of making a JIT for it, but I haven't had the time :) - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7

Re: [Numpy-discussion] Problems building numpy and scipy on AIX

2007-04-18 Thread David M. Cooke
normally done (and it's a pain...) Already fixed in svn :) - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) Comment

Re: [Numpy-discussion] Numpy with uclibc compiled python

2007-04-06 Thread David M. Cooke
. - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [Numpy-discussion] Numpy with uclibc compiled python

2007-04-06 Thread David M. Cooke
). This time it fails when trying to compile _capi.c. Thanks for all your help so far! Try this updated patch. It replaces the defined(linux) tests with defined(__GLIBC__). - -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] Numpy with uclibc compiled python

2007-04-06 Thread David M. Cooke
). - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [Numpy-discussion] how to run the tests.

2007-04-05 Thread David M. Cooke
/Accelerate.framework/Versions/A/Accelerate Does that mean the Apple-supplied BLAS/LAPACK is being used? Yes; the Accelerate framework exists on all installations of OS X, so we can use it with no problems. - -- ||\/| /--\ |David M. Cooke

Re: [Numpy-discussion] .data doesn't account for .transpose()?

2007-03-29 Thread David M. Cooke
).T.flags.f_contiguous Out[2]: True - -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) Comment: Using GnuPG with Mozilla

Re: [Numpy-discussion] New Trac feature: TracReSTMacro

2007-03-20 Thread David M. Cooke
)]] -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] New Trac feature: TracReSTMacro

2007-03-20 Thread David M. Cooke
On Tue, Mar 20, 2007 at 12:57:45PM -0500, Jeff Strunk wrote: On Tuesday 20 March 2007 11:54 am, David M. Cooke wrote: On Mon, Mar 19, 2007 at 12:54:51PM -0500, Jeff Strunk wrote: Good afternoon, By request, I have installed the TracReSTMacro on the numpy, scipy, and scikits tracs

Re: [Numpy-discussion] correct way to specify type in array definition

2007-03-15 Thread David M. Cooke
of the Pythonn types; note that int_ is a C long). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion

Re: [Numpy-discussion] Which dtype are supported by numexpr ?

2007-03-14 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http

Re: [Numpy-discussion] [PATCH] a fix for compiling numexpr with MSVC Toolkit 2003

2007-03-09 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] numpy.linalg.qr bug on 64-bit platforms

2007-03-08 Thread David M. Cooke
. -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org

Re: [Numpy-discussion] building an array using smaller arrays

2007-03-01 Thread David M. Cooke
array(res) then b = array([ row(1,2,3,a), row(5,a,6,7), row(0,2-a,3,4) ]) -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message

Re: [Numpy-discussion] what goes wrong with cos(), sin()

2007-02-22 Thread David M. Cooke
calculations are done in base 10. The exponent e for the 12-digit real is in the range -500 e 500, and for the 15-digit, -5 e 5. AFAIK, most of HP's calculators are like this. -- ||\/| /--\ |David M. Cooke

Re: [Numpy-discussion] Forcing the use of unoptimized blas/lapack even when atlas is present

2007-02-19 Thread David M. Cooke
). -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo

Re: [Numpy-discussion] SVN Build, optimized libraries, site.cfg, windows

2007-02-16 Thread David M. Cooke
site.cfg. Any help would be much appreciated. No, they're only in there for scipy (and for other packages that would like to use them). They're not required for Numpy. -- ||\/| /--\ |David M. Cooke http

Re: [Numpy-discussion] Exported symbols and code reorganization.

2007-01-10 Thread David M. Cooke
On Jan 10, 2007, at 13:52 , Charles R Harris wrote: On 1/10/07, David M. Cooke [EMAIL PROTECTED] wrote: On Jan 7, 2007, at 00:16 , Charles R Harris wrote: That brings up the main question I have about how to break up the C files. I note that most of the functions in multiarraymodule.c

Re: [Numpy-discussion] Numpy without BLAS, LAPACK

2006-11-22 Thread David M. Cooke
...) -- ||\/| /--\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |[EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion