[Numpy-discussion] Ticket closing policy

2011-03-24 Thread David
not close valid tickets either. Also, in my experience, issues specific to win32 should not be closed because they work on Linux - I remember the fastputmask issue was still there not so long ago (but could not understand what was going on, unfortunately). cheers, David

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread David
On 03/31/2011 06:37 PM, Pearu Peterson wrote: > > > On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau <mailto:courn...@gmail.com>> wrote: > > On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen <mailto:ro...@uw.edu>> wrote: > > In articl

Re: [Numpy-discussion] New functions.

2011-05-31 Thread David
s. > This is easy to do with heapsort and almost as easy with mergesort. > > 2) Ufunc fadd (nanadd?) Treats nan as zero in addition. Should make a > faster version of nansum possible. > > 3) Fast medians. +1 for fast median as well, and more generally fast "linear"

Re: [Numpy-discussion] New functions.

2011-05-31 Thread David
On 06/01/2011 10:34 AM, Charles R Harris wrote: > > > On Tue, May 31, 2011 at 7:33 PM, David <mailto:da...@silveregg.co.jp>> wrote: > > On 06/01/2011 10:08 AM, Charles R Harris wrote: > > Hi All, > > > > I've been contemplating n

Re: [Numpy-discussion] Added atleast_nd, request for clarification/cleanup of atleast_3d

2016-07-06 Thread David
Joseph Fox-Rabinovitz gmail.com> writes: > > On Wed, Jul 6, 2016 at 2:57 PM, Eric Firing hawaii.edu> wrote: > > On 2016/07/06 8:25 AM, Benjamin Root wrote: > >> > >> I wouldn't have the keyword be "where", as that collides with the notion > >> of "where" elsewhere in numpy. > > > > > > Agre

Re: [Numpy-discussion] numpy build system questions for use in another project (fwrap)

2010-04-09 Thread David
screw up, the only real solution really is to pass the options to each command, and hope each one is the same. > Any pointers? More generally -- seeing the above, any ideas on how to > go about doing what I'm trying to do better? Not really, that's how you are sup

Re: [Numpy-discussion] numpy build system questions for use in another project (fwrap)

2010-04-11 Thread David
On 04/10/2010 03:02 AM, Kurt Smith wrote: > On Fri, Apr 9, 2010 at 2:25 AM, David wrote: >> On 04/07/2010 11:52 AM, Kurt Smith wrote: >>> Briefly, I'm encountering difficulties getting things working in numpy >>> distutils for fwrap's build system. >&g

Re: [Numpy-discussion] rc2 for NumPy 1.4.1 and Scipy 0.7.2

2010-04-12 Thread David
in check_mathlib > if config_cmd.check_func("exp", libraries=libs, decl=True, call=True): >File "/dev/shm/numpy-1.4.1rc2/numpy/distutils/command/config.py", line > 310, in check_func > libraries, library_dirs) >File "/usr/local/lib/python2.

Re: [Numpy-discussion] Release candidate 3 for NumPy 1.4.1 and SciPy 0.7.2

2010-04-19 Thread David
ported to scipy 0.7.x (because it requires the new math library as available from numpy 1.4.0). I know for sure that scipy trunk + numpy 1.4.x work with ifort + MSVC on windows 64 (more exactly it worked in december 2009), cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] scipy error undefined symbol: lsame_

2010-04-20 Thread David
y/optimize/_lbfgsb.so: > undefined symbol: lsame_ > gberbeg...@actarus:~/python/mycodes> You did not build scipy properly: you need to make sure that everything is built with exactly the same fortran compiler. One way to check this is to do ldd on the .so files which fail: if you se

Re: [Numpy-discussion] Disabling Extended Precision in NumPy (like -ffloat-store)

2010-04-23 Thread David
in numpy, in the fortran runtime, or by the compiler (when computing constants). This sounds worse than what you can get from numpy by default, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Incomplete uninstall of 1.4.0 superpack

2010-04-28 Thread David
On 04/27/2010 01:08 AM, threexk threexk wrote: > David Cournapeau wrote: > > On Mon, Apr 26, 2010 at 2:42 AM, threexk threexk > wrote: > > > Hello, > > > > > > I recently uninstalled the NumPy 1.4.0 superpack for Python 2.6 on > Windows > > &

Re: [Numpy-discussion] PY_ARRAY_UNIQUE_SYMBOL is too far reaching?

2010-05-05 Thread David
ums, and so forth.) numpy headers are really messy - way too many macros, etc... Fixing it without breaking API compatibility is a lot of work, though, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-26 Thread David
w, it's the release > manager's decision which changes end up in the next version. > > > No, at this point we don't have a release manager, we haven't since 1.2. > We have people who do the builds and put them up on sourceforge, but > they aren't release

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-26 Thread David
how numpy would be so different that it would require something different, especially without having tried it first. If the pull model really fails, then we can always change. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussio

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-01 Thread David
k for me :) It may not matter much, but I think there is at least one argument for having real emails: to avoid having duplicate committers (i.e. pvirtanen is the same committer before and after the git transition). But this is only significant for current committers. David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-02 Thread David
*only* about username/email as recognized by git itself (as recorded in the commit objects). Several people already answered me privately to give me their email, I think that's the way to go, cheers, David ___ NumPy-Discussion mailing list NumPy

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread David
; on the compact but slow macros that replace the much nicer ones that > were in numpy a year or so ago. Which one are you thinking about: the ones using fpclassify ? Could you show the code where the current version is slower ? cheers, David _

Re: [Numpy-discussion] 2 bugs related to isinf and isfinite generate crazy warnings

2010-06-02 Thread David
/ directory inside glibc sources (on Linux). They use clever tricks to avoid branching, but when I benchmarked those, things like x != x where much faster on the computer I tested this on. Most likely very CPU dependent. cheers, David ___ NumPy-Discu

Re: [Numpy-discussion] "Dynamic convolution" in Numpy

2010-06-06 Thread David
of direct filters coefficients, for example). I don't think it is directly applicable to your problem, but the series of papers by Dattorro ten years ago is a goldmine: "Effect Design Part 1|2|3, Jon Dattorro, J. Audio Eng. Soc., Vol 45, No. 9, 1997 September" > As far as

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-06 Thread David
le do give you their github username / >> email combo - assuming that's the easiest combo to work with later? > > I think the Github user name is not really needed here, as what goes into > the history is the Git ID: name + email address. Indeed. I

Re: [Numpy-discussion] [Numpy-svn] r8457 - trunk

2010-06-06 Thread David
erent people may want to hide different things. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] numscons and Python 2.7 problems

2010-06-07 Thread David
nk scons issues should affect our policy here - it is not officially part of numpy. I would not be surprised if the issue were solved already, and if it isn't, it should be easy to fix. 2.7 is also likely to be the long-term supported version from the 2.x branch, so supporting i

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-08 Thread David
I am afraid it is quite subtle, and possibly a bug in python 3 distutils (plus some issues in numpy.distutils). cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] NumPy re-factoring project

2010-06-10 Thread David
o just that would be useful. I am not familiar with the ufunc API at all, so I am not sure how it would go. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] NumPy re-factoring project

2010-06-10 Thread David
aybe out of scope for the first refactoring, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Installing numpy on py 3.1.2 , osx

2010-06-13 Thread David
On 06/14/2010 08:10 AM, Vincent Davis wrote: > > I kinda get that, I posted on the nose list ask what source/version to > install. I installed the most recent. They have a special branch for py3k support, I think you have to use that, cheer

Re: [Numpy-discussion] numpy for jython

2010-06-13 Thread David
uld be an obvious candidate to test those things. cheers, David P.S: Nitpick: please avoid sending rar archives, only a few people can read them easily. Use zip or tarballs ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.

Re: [Numpy-discussion] Technicalities of the SVN -> GIT transition

2010-06-14 Thread David
It is progressing, and we will keep people posted when there is something to show, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] f2py with 4.1 under snow leopard

2010-06-16 Thread David
this helps somebody else. > > Do you think it would be possible to have LDFLAGS added to the default ones? > Or is there a way to obtain this by setting something else (EXTRA_LDFLAGS) or > something like that? You can use numscons, which has this behavior and

Re: [Numpy-discussion] Building Numpy: could not read symbols Bad value error

2010-06-20 Thread David
LOADOPTS = > > And of course I see that -fPIC is actually being used: > ... > gfortran -O2 -fPIC -c zsysvx.f -o zsysvx.o > gfortran -O2 -fPIC -c zsytf2.f -o zsytf2.o > gfortran -O2 -fPIC -c zsytrf.f -o zsytrf.o Can you check it is actually used for the file which causes the link failu

Re: [Numpy-discussion] bool indices segv

2010-06-22 Thread David
, it is even worse. > Is it better to avoid setuptools/distribute/PyPI altogether? Yes, unless you need their features (which in the case of numpy is mostly egg, since installing from pypi rarely works anyway). David ___ NumPy-Discussion mailing

[Numpy-discussion] [ANN] Bento (ex-toydist) 0.0.3

2010-07-01 Thread David
any new packages, just include one single file into your package to build with bento - Improved documentation - 2.4 -> 2.7 support, tested on linux/windows/mac os x You can download bento on github: http://github.com/cournape/Bento cheers, Da

Re: [Numpy-discussion] [ANN] Bento (ex-toydist) 0.0.3

2010-07-02 Thread David
On 07/02/2010 05:05 PM, Dag Sverre Seljebotn wrote: > David Cournapeau wrote: >> On Fri, Jul 2, 2010 at 1:56 PM, Robert Pyle wrote: >> >>> Hi, >>> >>> While I agree that toydist needs a new name, Bento might not be a good >>> choice. It's

Re: [Numpy-discussion] First shot at svn->git conversion

2010-07-26 Thread David
On 07/26/2010 05:44 PM, Pauli Virtanen wrote: > Mon, 26 Jul 2010 13:57:36 +0900, David Cournapeau wrote: >> I have finally prepared and uploaded a test repository containing numpy >> code: >> >> http://github.com/numpy/numpy_svn > > Some observations based on a qu

Re: [Numpy-discussion] First shot at svn->git conversion

2010-07-28 Thread David
On 07/28/2010 05:45 PM, Pauli Virtanen wrote: > Wed, 28 Jul 2010 12:17:27 +0900, David Cournapeau wrote: > [clip] >>>>> http://github.com/numpy/numpy_svn >> >> I put a new repostory (same location) > > Some more notes: > > - 1.1.x branch is missing.

Re: [Numpy-discussion] Numpy 1.4.1 fails to build on (Debian) alpha and powepc

2010-07-29 Thread David
pecific: we want to enforce the usage of endian.h file > available on all of our architectures This one has been fixed in the 1.4.x branch (and trunk of course) > > 07_bts585309_string_exceptions.diff > - Remove string exceptions > -- patch from trunk, we can remove it once a

Re: [Numpy-discussion] floating point arithmetic issue

2010-07-30 Thread David
html > Is there any way to solve this? Using % with float is generally a wrong idea IMO. You have not said what you are trying to do. The solution may be to use integers, or to do it differently, but we need more info, cheers, David ___ NumPy-Dis

Re: [Numpy-discussion] distutils issue - python 3.1 on windows

2010-08-02 Thread David
targspec > > that could be used here. > Yep, it was added precisely for avoiding the slow import of upstream inspect, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Bento question: Fortran 90 & Cython support

2010-08-12 Thread David
:) ). To somewhat deal with the unstability API-wise, you can include a copy of bento+yaku in your project, as I have done in nipy. It is a self-contained file which is about 350 kb (and down to 80 kb if you don't care about supporting building windows installers). cheers, David _

Re: [Numpy-discussion] Problems building NumPy with GotoBLAS

2010-08-16 Thread David
nly used when linking, and not the ones used at runtime generally (the full version, e.g. .so.1.2.3 is). Which version exactly depends on your installation, but I actually advise you against doing those softlink. You should instead specificaly link the GOTO library to numpy, by customizing the

Re: [Numpy-discussion] Problems building NumPy with GotoBLAS

2010-08-17 Thread David
O1 -pthread" > export FFLAGS="-O2" > > #build > python setup.py config > python setup.py build > python setup.py install > > #copy site.cfg > cp ./site.cfg PYTHONDIR/lib/python2.6/site-packages/numpy/distutils/. This should be PYTHONPATH, not PYTHONDIR. Also, on 64 bits, you need -fPIC in every *FLAGS variables. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Problems building NumPy with GotoBLAS

2010-08-17 Thread David
ldd on the .so files (for example ldd .../numpy/linalg/lapack_lite.so). cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] ANN: NumPy 1.5.0 beta 2

2010-08-17 Thread David
[1] http://msdn.microsoft.com/en-us/library/e7s85ffb%28v=VS.90%29.aspx > > > OK, this does seem to be the standard. For instance > > The isless macro determines whether its first argument is less than its > second > argument. The value of isless(x, y) is always equal to (x) < (y); however, > unlike (x) < (y), isless(x, y) does not raise the ‘‘invalid’’ floating-point > exception when x and y are unordered. Yes, it is - but I cannot reproduce the INVALID FPU exception on Linux when using e.g. int a = (Nan > 1). I don't know what's up with that, as the glibc says it should, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] numpy installation problems

2010-08-22 Thread David
ATH=/opt/lib:$LD_LIBRARY_PATH inside your shell 4: if not found, then you may need to reinstall numpy from sources. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] inversion of large matrices

2010-08-30 Thread David
On 08/31/2010 11:19 AM, Dan Elliott wrote: > Thanks for the reply. > > David Warde-Farley cs.toronto.edu> writes: >> On 2010-08-30, at 11:28 AM, Daniel Elliott wrote: >>> Large matrices (e.g. 10K x 10K) >> >>> Is there a function for performing the in

Re: [Numpy-discussion] Can't install numpy

2010-09-12 Thread David
e numpy there, I strongly advise you *not* to install anything there unless they explicitely support it. If you just want to install numpy to use straight numpy, you should install it on top on python installed outside marc mentat, cheers, David ___

Re: [Numpy-discussion] Can we freeze the subversion repository and move to github this week?

2010-09-15 Thread David
es with data-loss consequences using git than with another VCS) It is very difficult to actually lose data with git thanks to the reflog: http://www.gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html cheers, David ___ NumPy-Discussion mai

Re: [Numpy-discussion] Can we freeze the subversion repository and move to github this week?

2010-09-15 Thread David
On 09/15/2010 05:58 PM, Gael Varoquaux wrote: > On Wed, Sep 15, 2010 at 05:10:53PM +0900, David wrote: >> It is very difficult to actually lose data with git thanks to the >> reflog: >> http://www.gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html > >

Re: [Numpy-discussion] Numpy SVN frozen; move to Git

2010-09-16 Thread David
g svn: REPORT of '/cournape/numpy.git/!svn/vcc/default': 200 OK (http://svn.github.com). May be due to some network configuration, I don't know. Would be good if someone else could check, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] numpy.distutils

2010-10-11 Thread David
On 10/12/2010 03:39 AM, Charles Doutriaux wrote: > Hi David, > > The behaviour is there in regular distutils, it is apparently a known > bug, I'm copy/pasting their answer in there for information. I saw the discussion, thanks for the update

Re: [Numpy-discussion] Commit rights on github

2010-10-11 Thread David
not commit Then, check that you don't add unnecessary files (eclipse files) before committing again. A good way to check what you are about to commit is to do git diff --stat --cached, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Commit rights on github

2010-10-11 Thread David
On 10/12/2010 11:12 AM, Charles R Harris wrote: > > > On Mon, Oct 11, 2010 at 7:31 PM, David <mailto:da...@silveregg.co.jp>> wrote: > > On 10/12/2010 08:48 AM, Charles R Harris wrote: > > > > > > On Mon, Oct 11, 2010 at 5:09 PM, P

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David
veral commits. I >> 100% endorse Fernando's recommendations: >> >> http://mail.scipy.org/pipermail/ipython-dev/2010-October/006746.html >> >> This really sounds like best-practice to me, and it's even empirically >> tested! > > OK - so it se

Re: [Numpy-discussion] Development workflow

2010-10-12 Thread David
branch target_branch source_branch But generally, if you want to create a new branch to start working on it, you use the -b option of checkout: git branch -b target_branch source_branch which is equivalent to git branch target_branch source_branch git checkout target_branch cheers, David

Re: [Numpy-discussion] numpy installation in ubuntu

2010-10-18 Thread David
the safest method, does not require sudo and works on every platform, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Atlas build issues

2010-10-20 Thread David
lapack_lite.so: does it load the libraries you think are you loading ? - nm atlas_libraries | grep zgesdd_ for every library in atlas (I don't know how the recent ones work, but this function should normally be in libf77blas.so) The way to get -fPIC everywhere use

Re: [Numpy-discussion] Atlas build issues

2010-10-20 Thread David
On 10/20/2010 04:39 PM, David wrote: > On 10/20/2010 04:23 PM, Gael Varoquaux wrote: >> I am really sorry to be landing on the mailing list with Atlas build >> issues. I usually manage be myself to build Atlas, but this time I have >> been fighting for a couple of day

Re: [Numpy-discussion] ANN: NumPy 1.5.1 release candidate 1

2010-10-25 Thread David
atetime tests below? They don't exist in > 1.5.x, that's simply a file left over from an install of the master > branch. I think that's what he meant (although the issue has nothing to do with numpy and is solely caused by distutils), cheers, David _

Re: [Numpy-discussion] Precision difference between dot and sum

2010-11-01 Thread David
h tiny differences are expected - having exactly the same solution would have been surprising, actually. You may be surprised about the difference for such a trivial operation, but keep in mind that dot is implemented with highly optimized CPU instruct

Re: [Numpy-discussion] Path to numpy installation

2010-11-02 Thread David
k it is safe just to delete the folder > /System/Library/Frameworks/Python.framework to «uninstall» the wrong > version? Not really - /System is used for system stuff, as its name suggests, and removing it may break unrelated things. David ___ NumPy-Dis

Re: [Numpy-discussion] ~2**32 byte tofile()/fromfile() limit in 64-bit Windows?

2010-11-03 Thread David
ple of days). I'd prefer someone more familiar with > that particular code to review and merge it. I don't think the code is appropriate as is. I can take a look at it this WE, but not before, cheers, David ___ NumPy-Discussion mailing l

Re: [Numpy-discussion] Anyone with Core i7 and Ubuntu 10.04?

2010-11-08 Thread David
h has finally a working atlas package, thanks to the work of the debian packagers. There is a version compiled for i7, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] new memcpy implementation exposes bugs in some software.

2010-11-11 Thread David
ination overlap in memory. Report and discussion can be found at > fedora bugzilla <https://bugzilla.redhat.com/show_bug.cgi?id=638477>. I > don't know that numpy has any problems of this sort but it is worth > keeping in mind. It would be kind of cool to get a b

Re: [Numpy-discussion] NumPy 1.5.1 on RedHat 5.5

2010-11-29 Thread David
On 11/30/2010 03:32 AM, David Brodbeck wrote: > I'm trying to install NumPy 1.5.1 on RedHat 5.5 and I'm having trouble > getting it to find the ATLAS libraries. I did a lot of Googling but > didn't find anything that helped...also looked through the install > instruct

Re: [Numpy-discussion] A Cython apply_along_axis function

2010-12-01 Thread David
now to do that systematically is iterator. There is a relatively simple example in scipy/signal (lfilter.c.src). I wonder if it would be possible to add better support for numpy iterators in cython... cheers, David ___ NumPy-Discussion mailing list NumPy-Discus

Re: [Numpy-discussion] MultiIter version of PyArray_IterAllButAxis ?

2010-12-01 Thread David
ch array is not possible ? cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Refactor fork uses the ./configure, make, make install process.

2010-12-05 Thread David
autoconf make things very easy, it's a well established pattern, >> I'm sure David C. will agree. >> >> >> >> I know he has expressed reservations about it on non-posix platforms >> and some large projects have moved away from it. I'm not saying

Re: [Numpy-discussion] NEP for faster ufuncs

2010-12-21 Thread David
istmas holidays. I cannot comment in details yet, but it seems to address several issues I encountered myself while implementing the neighborhood iterator (which I will try to update to use the new one). One question: which CPU/platform did you test it on ? cheers, David

Re: [Numpy-discussion] numpy for jython

2010-12-23 Thread David
the JVM than the CLR), cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Numpy 2.0 schedule

2011-01-25 Thread David
or extensions. Is it fundamentally different so that extensions will need to be rewritten ? I especially wonder about scipy and cython's codegen backend, cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Please keep Numpy master working on Py3

2011-02-01 Thread David
n Mark's code, I am stlightly concerned about the dependency between ufunc and multiarray (i.e. ufunc include header in multiarray). In the meantime, I put the relevant header in numpy/core/src/private, to make the dependency clearer. cheers, David

Re: [Numpy-discussion] Please keep Numpy master working on Py3

2011-02-01 Thread David
On 02/02/2011 01:53 PM, David wrote: > On 02/02/2011 08:58 AM, Pauli Virtanen wrote: >> Hi, >> >> The master branch did not build today on Python 3. Please make sure that >> your code works correctly also on Python 3, before pushing it. >> >> ***

Re: [Numpy-discussion] Please keep Numpy master working on Py3

2011-02-01 Thread David
On 02/02/2011 02:57 PM, Mark Wiebe wrote: > On Tue, Feb 1, 2011 at 9:49 PM, David <mailto:da...@silveregg.co.jp>> wrote: > > > > > > In the meantime, I put the relevant header in > numpy/core/src/private, to > > make the dependency c

Re: [Numpy-discussion] core library structure

2011-02-03 Thread David
that we get a basic agreement on the main goals of numpy 2.0, what can be delayed, what cannot. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] moving C++ binary data to numpy

2011-02-07 Thread David
rather nightmarish to support. Why can't you use a library with a portable file format (e.g. hdf5), or something like google protocol buffer/thrift/etc... ? Those are designed to solve your problem cheers, David ___ NumPy-Discussion mailing

[Numpy-discussion] FYI: experimental waf support for numpy

2011-02-09 Thread David
and beyond. cheers, David ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Rationale for simple_capsule_dtor to be static but non-inline ?

2011-02-09 Thread David
Hi, in npy3_compat.h, one function simple_capsule_dtor is defined as static but non-inline. AFAIK, there is no reason not to put inline (if supported by the compiler of course) for a static function defined in a header. Unless I hear someone justify it, I will change it, cheers, David

Re: [Numpy-discussion] FYI: experimental waf support for numpy

2011-02-10 Thread David
On 02/10/2011 04:45 PM, Sebastien Binet wrote: > David, > > On Thu, 10 Feb 2011 14:30:37 +0900, David wrote: >> Hi there, >> >> Following recent release of waf 1.6 and its adoption by the samba >> project, as well as my own work on integrating waf and bento, I

Re: [Numpy-discussion] NumPy speed tests by NASA

2011-02-22 Thread David
used, so it is not very useful IMO, except maybe to show that you can deal with non trivial problems on top of python (surprisingly, many scientists programming a fair bit are still unaware of the vectorizing concept altogether), cheers, David

Re: [Numpy-discussion] [python] Re: Request for advice: project to get NumPy working in IronPython

2008-04-26 Thread David
Michael Foord voidspace.org.uk> writes: > > are you really going to run matrix inversion on the CLR in a browser?) Yes! ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Defining custom types

2006-11-17 Thread David Douard
ece of code, I'm pretty sure some of us might help you with this code. Maybe you should tell your employer how far your project could benefits from being released to the numpy community (at least this part of the project) ;-) > > Thanks, > Jonathan > > On 11/16/06, Matt Kno

[Numpy-discussion] How to deal with NAN and co in C extension to numpy/scipy ?

2006-11-22 Thread David Cournapeau
ns an error code which would results in a python exception ? In this latter cases, is it ok to returns to python arrays the values from the C function ? In matlab, for bad cases, it just returns NAN; is this appropriate ? How should I do it ? cheers,

[Numpy-discussion] Numpy and Python 2.2 on RHEL3

2006-12-05 Thread David Bogen
r to fix. Am I attempting the impossible here or am I just doing something fundamentally and obviously wrong? David -- David Bogen :: (608) 263-0168 Unix SysAdmin :: IceCube Project [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature __

Re: [Numpy-discussion] Numpy and Python 2.2 on RHEL3

2006-12-05 Thread David Bogen
the number of walls I was hitting, it just seemed that I was traveling down the wrong path. David -- David Bogen :: (608) 263-0168 Unix SysAdmin :: IceCube Project [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature ___ Numpy-d

[Numpy-discussion] Resizing without allocating additional memory

2006-12-06 Thread David Huard
without allocating additional memory for the array, ie just return a new "view" of the array where all elements point to the same scalar. Thanks, David ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailma

Re: [Numpy-discussion] Resizing without allocating additional memory

2006-12-06 Thread David Huard
Thanks Travis, I guess we'll have to tweak the fortran subroutines. It would have been neat though. David Answer: Since g+=1 adds one to all N elements of g, the buffer a gets incremented N times. So a = array(i) g = ndarray(shape=(1,N), dtype=int, buffer=a, strides=(0,0)) g+=M returns

[Numpy-discussion] lapack_lite dgesv

2006-12-11 Thread R. David
a clue for this ? Regards, Romaric -- ------ R. David - [EMAIL PROTECTED] Tel. : 03 90 24 45 48 (Fax 45 47) -- ___ Numpy-discussion mailing list Numpy-discussion@scipy.or

Re: [Numpy-discussion] lapack_lite dgesv

2006-12-11 Thread R. David
Hello Tim, > > The problem is probably your definition of ipiv. "(DIM)" is just a > parenthesized scalar, what you probably want is "(DIM,)", which is a > one-tuple. Personally, I'd recommend using list notation ("[nbrows, > nbcols]", "[DIM]") rather than tuple notation since it's both easier t

Re: [Numpy-discussion] lapack_lite dgesv

2006-12-11 Thread R. David
Hello, > Try replacing 'int' with intc (or numpy.intc if you are not using > 'import *'). The following 'works' for me in the sense that it doesn't > throw any errors (although I imagine the results are nonsense): Thanks, it works now !! Sorry for non including the whole code, I just not wante

Re: [Numpy-discussion] a==b for numpy arrays

2006-12-11 Thread David Huard
Hi Daniel, Just out of curiosity, what's wrong with if all(a==b): ... ? Cheers, David 2006/12/11, Abel Daniel <[EMAIL PROTECTED]>: > Hi! My unittests got broken because 'a==b' for numpy arrays returns an array instead of returning True or False: >>> im

Re: [Numpy-discussion] a==b for numpy arrays

2006-12-11 Thread David Goldsmith
Abel Daniel wrote: > to what 'a+b' means with a and b being numpy arrays. But 'A=B' means something > completely different than 'a==b'. > > I disagree: A=B "on the blackboard" does mean that every element in A equals its positionally-corresponding element in B, and a==b in numpy will only be w

[Numpy-discussion] Definition of correlation, correlate and so on ?

2006-12-11 Thread David Cournapeau
I've never seen complex correlation used without the conjugate, so I was curious why this definition was used ? It is incompatible with the correlation as a scalar product, for example. Could someone give the definition used by those function ? cheers,

Re: [Numpy-discussion] Definition of correlation, correlate and so on ?

2006-12-12 Thread David Cournapeau
Charles R Harris wrote: > > > On 12/12/06, *David Cournapeau* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > > I am polishing some code to compute autocorrelation using fft, and > when testing the code against numpy.co

Re: [Numpy-discussion] Definition of correlation, correlate and so on ?

2006-12-12 Thread David Huard
*if* that is the assessment, then a transition path will be plotted. For example, a keyword could be added, with a proper default, and a warning emitted when it is not set. +1 for a change. I'm not using the current implementation. Since it was undocumented, I prefered coding my own.

Re: [Numpy-discussion] Definition of correlation, correlate and so on ?

2006-12-12 Thread David Cournapeau
rimitives > are available. At the same time, more informative docstrings would be a > great. > Do you mean signal function in numpy or scipy ? For scipy, this is already done (module scipy.signals), David ___ Numpy-discussion mailing list N

Re: [Numpy-discussion] Histograms of extremely large data sets

2006-12-14 Thread David Huard
ile if you want to take a look, or if you me the benchmark, I'll add it to it and report the results. Cheers, David 2006/12/14, eric jones <[EMAIL PROTECTED]>: Rick White wrote: > Just so we don't get too smug about the speed, if I do this in IDL on > the same machine it

[Numpy-discussion] slow numpy.clip ?

2006-12-17 Thread David Cournapeau
Hi, When trying to speed up some matplotlib routines with the matplotlib dev team, I noticed that numpy.clip is pretty slow: clip(data, m, M) is slower than a direct numpy implementation (that is data[dataM] = M; return data.copy()). My understanding is that the code does the same thing, ri

Re: [Numpy-discussion] slow numpy.clip ?

2006-12-18 Thread David Cournapeau
Stefan van der Walt wrote: > Hi David > > The benchmark below isn't quite correct. In clip2_bench the data is > effectively only clipped once. I attach a slightly modified version, > for which the benchmark results look like this: Yes, I of course mistyped the < and the co

Re: [Numpy-discussion] slow numpy.clip ?

2006-12-18 Thread David Cournapeau
Stefan van der Walt wrote: > On Mon, Dec 18, 2006 at 05:45:09PM +0900, David Cournapeau wrote: >> Yes, I of course mistyped the < and the copy. But the function is still >> moderately faster on my workstation: >> >> ncalls tottime percall cumtime pe

  1   2   3   4   5   6   7   8   9   10   >