Re: [Numpy-discussion] Datetime branch

2009-06-10 Thread Robert Kern
On Wed, Jun 10, 2009 at 23:18, Charles R Harris wrote: > Hi Travis, > > I looked through the recent commits to the datetime branch and, as I'm > working on cleaning up arraytypes I would appreciate it if you can merge up > your changes there as soon as possible to minimize conflicts. Also, this > c

[Numpy-discussion] Datetime branch

2009-06-10 Thread Charles R Harris
Hi Travis, I looked through the recent commits to the datetime branch and, as I'm working on cleaning up arraytypes I would appreciate it if you can merge up your changes there as soon as possible to minimize conflicts. Also, this change looks like a reversion of current trunk to something older:

Re: [Numpy-discussion] [OFFTOPIC] Reference management for articles

2009-06-10 Thread Skipper Seabold
On Wed, Jun 10, 2009 at 11:29 PM, Gökhan SEVER wrote: > Thanks for sharing your ideas on this subject. > > What I am most likely going to do is, do a test-drive for each mentioned > tools, except the ones for MacOS :) since I use Linux (Fedora) almost all > the time. > > I also use OO for composing

Re: [Numpy-discussion] Howto vectorise a dot product ?

2009-06-10 Thread Tom K.
bruno Piguet wrote: > >Can someone point me to a doc on dot product vectorisation ? > As I posted in the past you can try this one liner: "numpy.array(map(numpy.dot, a, b)) that works for matrix multiply if a, b are (n, 3, 3). " This would also work if a is (n, 3, 3) and b is (n, 3

Re: [Numpy-discussion] [OFFTOPIC] Reference management for articles

2009-06-10 Thread Gökhan SEVER
Thanks for sharing your ideas on this subject. What I am most likely going to do is, do a test-drive for each mentioned tools, except the ones for MacOS :) since I use Linux (Fedora) almost all the time. I also use OO for composing, and once in a while MS Office tools. I may give 'LyX' a try sinc

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread David Cournapeau
On Thu, Jun 11, 2009 at 5:04 AM, Samir Unni wrote: > On Wed, Jun 10, 2009 at 2:59 PM, Adam Mercer wrote: >> On Wed, Jun 10, 2009 at 12:44, Samir Unni wrote: >> >>> I'm trying to use F2PY on Mac OS 10.5 with G95, but I'm getting the >>> error "g95: unrecognized option '-shared'". I tried modifying t

Re: [Numpy-discussion] [OFFTOPIC] Reference management for articles

2009-06-10 Thread David Warde-Farley
On 10-Jun-09, at 3:23 PM, Gökhan SEVER wrote: > I am very off-the-topic, sorry about that first, but I know most of > the > people in this list are students / scientists. Just want to know a few > opinions upon how you manage references (following the list of > references in > the end of artic

Re: [Numpy-discussion] [OFFTOPIC] Reference management for articles

2009-06-10 Thread Tim Michelsen
> http://bibdesk.sourceforge.net/ I use JabRef for quite some time. Very nice and cross-platform. Good interoperability with LyX. If you with MS or OOo, you'd go for Bibus. Best regards, Timmie ___ Numpy-discussion mailing list Numpy-discussion@scipy.

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Samir Unni
On Wed, Jun 10, 2009 at 3:24 PM, Adam Mercer wrote: > On Wed, Jun 10, 2009 at 15:19, Samir Unni wrote: > >> That's odd. You're running Mac OS 10.5.7? Did you install NumPy >> manually or via Fink? > > Yep Intel 10.5.7, installed from MacPorts. MacPorts might be the difference then. I tried both th

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Carl, Andrew F (AS)
As strange as it may sound, the same type of thing happened on my PC: it was working (i.e. diagnose.py & example problem), then quit working after an uninstall of ipython, requiring a complete reinstall. (see my previous post earlier today). -Original Message- From: numpy-discussion-boun

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Adam Mercer
On Wed, Jun 10, 2009 at 15:19, Samir Unni wrote: > That's odd. You're running Mac OS 10.5.7? Did you install NumPy > manually or via Fink? Yep Intel 10.5.7, installed from MacPorts. Cheers Adam ___ Numpy-discussion mailing list Numpy-discussion@scipy.

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Samir Unni
On Wed, Jun 10, 2009 at 3:18 PM, Carl, Andrew F (AS) wrote: > You might try running: C:\Python25\Lib\site-packages\numpy\f2py\diagnose.py That's giving me the same result: List of available Fortran compilers: --fcompiler=g95 G95 Fortran Compiler (0.91) List of unavailable Fortran compilers:

Re: [Numpy-discussion] [OFFTOPIC] Reference management for articles

2009-06-10 Thread Geoffrey Ely
If you use LaTex and Mac OSX, I recommend BibDesk: http://bibdesk.sourceforge.net/ Quite nice, and open-source. -Geoff On Jun 10, 2009, at 12:23 PM, Gökhan SEVER wrote: > Hello, > > I am very off-the-topic, sorry about that first, but I know most of > the people in this list are students / s

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Samir Unni
On Wed, Jun 10, 2009 at 3:11 PM, Adam Mercer wrote: > On Wed, Jun 10, 2009 at 15:04, Samir Unni wrote: > >> Are you sure? When I run "f2py -c --help-fcompiler", I get: >> >> List of available Fortran compilers: >>  --fcompiler=g95  G95 Fortran Compiler (0.91) >> >> G95 is the only compiler listed a

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Carl, Andrew F (AS)
You might try running: C:\Python25\Lib\site-packages\numpy\f2py\diagnose.py -Original Message- From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion-boun...@scipy.org] On Behalf Of Adam Mercer Sent: Wednesday, June 10, 2009 1:12 PM To: Discussion of Numerical Python Subject

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Adam Mercer
On Wed, Jun 10, 2009 at 15:04, Samir Unni wrote: > Are you sure? When I run "f2py -c --help-fcompiler", I get: > > List of available Fortran compilers: >  --fcompiler=g95  G95 Fortran Compiler (0.91) > > G95 is the only compiler listed as available. If it can't be used, > then what can? I would ac

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Samir Unni
On Wed, Jun 10, 2009 at 2:59 PM, Adam Mercer wrote: > On Wed, Jun 10, 2009 at 12:44, Samir Unni wrote: > >> I'm trying to use F2PY on Mac OS 10.5 with G95, but I'm getting the >> error "g95: unrecognized option '-shared'". I tried modifying the >> NumPy code to use the correct "-dynamic" flag, rath

Re: [Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Adam Mercer
On Wed, Jun 10, 2009 at 12:44, Samir Unni wrote: > I'm trying to use F2PY on Mac OS 10.5 with G95, but I'm getting the > error "g95: unrecognized option '-shared'". I tried modifying the > NumPy code to use the correct "-dynamic" flag, rather than the > "-shared" flag. While that does allow for F2

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread Carl, Andrew F (AS)
PC w/ Windows XP [Version 5.1.2600] Steps: 1) , in my case as follows: a) ActiveState ActivePython 2.5.2.2 b) Numpy 1.3.0 c) gFortran (dated 2009-04-21) 2) Install MinGW 5.1.4 (g++, g77, make) 3) Check system environmental variables as follows: a) PATH: C:\gfortran

[Numpy-discussion] [OFFTOPIC] Reference management for articles

2009-06-10 Thread Gökhan SEVER
Hello, I am very off-the-topic, sorry about that first, but I know most of the people in this list are students / scientists. Just want to know a few opinions upon how you manage references (following the list of references in the end of articles, books, etc... or building your owns). Some article

Re: [Numpy-discussion] numpy C++ swig class example

2009-06-10 Thread Bill Spotz
Jared, Typically, public data members would be handled in SWIG with, I believe, the "out" typemap. numpy.i does not support this typemap because there is no general way that I know of to tell it that, for example, _nrow and _ncol are the dimensions of data. Faced with this problem, and a d

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread Bruce Southey
On 06/10/2009 11:41 AM, Carl, Andrew F (AS) wrote: > Got gfortran (dated 2009-04-21) working w/ python 2.5.2, numpy 1.3.0& > MinGW 5.1.4, and after removing the intel fortran system environmental > variables (plus six python installs, a intel fortran uninstall, and a > day and a half of head scratc

Re: [Numpy-discussion] Numpy-discussion Digest, Vol 33, Issue 59

2009-06-10 Thread David Goldsmith
--- On Wed, 6/10/09, Juanjo Gomez Navarro wrote: > The speed at which some points tend to infinite is huge. > Some points, after 10 steps, reach a NaN. This is not > problem in my Mac Book, but in the PC the speed is really > poor when some infinities are reached (in the mac, the > program takes

[Numpy-discussion] F2PY error with G95 on Mac OS 10.5

2009-06-10 Thread Samir Unni
Hi, I'm trying to use F2PY on Mac OS 10.5 with G95, but I'm getting the error "g95: unrecognized option '-shared'". I tried modifying the NumPy code to use the correct "-dynamic" flag, rather than the "-shared" flag. While that does allow for F2PY to successfully execute, I get the error Tracebac

Re: [Numpy-discussion] Howto vectorise a dot product ?

2009-06-10 Thread Charles R Harris
On Wed, Jun 10, 2009 at 12:21 AM, bruno Piguet wrote: > 2009/6/9 Charles R Harris > >> >> Well, in this case you can use complex multiplication and either work with >> just the x,y components or use two complex components, i.e., [x + 1j*y, z]. >> In the first case you can then do the rotation as

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread Carl, Andrew F (AS)
Got gfortran (dated 2009-04-21) working w/ python 2.5.2, numpy 1.3.0 & MinGW 5.1.4, and after removing the intel fortran system environmental variables (plus six python installs, a intel fortran uninstall, and a day and a half of head scratching). Andy -Original Message- From: numpy-disc

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread David Cournapeau
On Thu, Jun 11, 2009 at 1:22 AM, Andrew Hawryluk wrote: > I was able to get gfortran working on Windows just a few weeks ago. The > only problem I had was that I needed Python >= 2.5.3 before it would > work. See issue #2234 in > http://www.python.org/download/releases/2.5.4/NEWS.txt That's not r

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread Andrew Hawryluk
> -Original Message- > From: numpy-discussion-boun...@scipy.org [mailto:numpy-discussion- > boun...@scipy.org] On Behalf Of David Cournapeau > Sent: 9 Jun 2009 8:43 PM > To: Discussion of Numerical Python > Subject: Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content > > Carl, An

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread Carl, Andrew F (AS)
The default finds both the g77 & gfortran compilers. The issue is that the flags associated w/ both appear to be corrupted by the contents of the intel fortran environmental variables (i.e. content matched, removal of the intel system environmental variables made the problem go away), resulting in

Re: [Numpy-discussion] second 2d fft gives the same result as fft+ifft

2009-06-10 Thread Béla MIHALIK
I made the transformations with scipy. It works with complex numbers. The results are here: http://server6.theimagehosting.com/image.php?img=second_fourier_scipy.png Also i asked it from others... as i understand now: the second fourier transformation of a function always gives back the mirror of

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread David Cournapeau
On Thu, Jun 11, 2009 at 12:30 AM, Carl, Andrew F (AS) wrote: > > Then how about known combinations of version numbers for g77/gcc, > python, and numpy? Any of them should work. Numpy on windows is built with g77/gcc as available from the official MinGW installer. >. Something on where to look to

Re: [Numpy-discussion] Inquiry Regarding F2PY Windows Content

2009-06-10 Thread Carl, Andrew F (AS)
Then how about known combinations of version numbers for g77/gcc, python, and numpy? The gist would be to convey something that is known too work together. Some of the "magic" under the hood is looking at system environmental variables, and the Intel fortran compiler flags wreak havoc, requiring t

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2009-06-10 Thread Benoit Jacob
Hi David, 2009/6/9 David Cournapeau : > Hi Benoit, > > Benoit Jacob wrote: >> No, because _we_ are serious about compilation times, unlike other c++ >> template libraries. But granted, compilation times are not as short as >> a plain C library either. >> > > I concede it is not as bad as the heavi

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2009-06-10 Thread Benoit Jacob
2009/6/9 Charles R Harris : >> >   - heavily expression-template-based C++, meaning compilation takes >> > ages >> >> No, because _we_ are serious about compilation times, unlike other c++ >> template libraries. But granted, compilation times are not as short as >> a plain C library either. > > I w

Re: [Numpy-discussion] Numpy-discussion Digest, Vol 33, Issue 59

2009-06-10 Thread Juanjo Gomez Navarro
Thanks a lot, now I have a quite fast program to compute Fractals :D. Nevertheless, I want to comment some more doubts. The speed at which some points tend to infinite is huge. Some points, after 10 steps, reach a NaN. This is not problem in my Mac Book, but in the PC the speed is really poor when

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread David Goldsmith
Thanks, Scott. Clear as mud. (Just kidding, of course.) ;-) DG --- On Wed, 6/10/09, Scott Sinclair wrote: > From: Scott Sinclair > Subject: Re: [Numpy-discussion] Question about memmap > To: "Discussion of Numerical Python" > Date: Wednesday, June 10, 2009, 1:06 AM > > 2009/6/10 David Gold

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Scott Sinclair
> 2009/6/10 David Goldsmith : > > --- On Wed, 6/10/09, Scott Sinclair wrote: > >> The front page of the Doc-Wiki says: >> >> "You do not need to be a SciPy developer to contribute, as >> any >> documentation changes committed directly to the Subversion >> repository >> by developers are automatica

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Gael Varoquaux
On Wed, Jun 10, 2009 at 12:36:07AM -0700, David Goldsmith wrote: > OK, so the reconciliation is two-way, via SVN; I take it only registered > developers have update/commit privileges? Does at least one developer check > SVN at least once daily? The way the web application works, is that it can

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread David Goldsmith
--- On Wed, 6/10/09, Scott Sinclair wrote: > The front page of the Doc-Wiki says: > > "You do not need to be a SciPy developer to contribute, as > any > documentation changes committed directly to the Subversion > repository > by developers are automatically propogated here on a daily > basis.

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread David Goldsmith
--- On Wed, 6/10/09, Gael Varoquaux wrote: > I tend to encourage using the wiki, because it makes it > easy to document > for a non developper. Reviewing the changes is also > easier. And it provides a level of "protection" for the source; though a late-comer to this system, it's wisdom is pla

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Gökhan SEVER
On Wed, Jun 10, 2009 at 2:26 AM, Scott Sinclair wrote: > > 2009/6/10 David Goldsmith : > > > > My present job - and the Summer Numpy Doc Marathon - is premised on > making changes/additions through the Wiki; if anyone other than registered > developers is to be messing w/ the rst, it's news to me

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Robert Kern
On Wed, Jun 10, 2009 at 02:25, Gökhan SEVER wrote: > On Wed, Jun 10, 2009 at 2:13 AM, Pauli Virtanen wrote: >> >> Wed, 10 Jun 2009 01:51:19 -0500, Gökhan SEVER kirjoitti: >> > What's the reason again that memmap only works with binary files? >> >> There are no separate "text files" and "binary fil

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Scott Sinclair
> 2009/6/10 David Goldsmith : > > My present job - and the Summer Numpy Doc Marathon - is premised on making > changes/additions through the Wiki; if anyone other than registered > developers is to be messing w/ the rst, it's news to me.  At this point, > someone who knows should please step in

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Gökhan SEVER
On Wed, Jun 10, 2009 at 2:13 AM, Pauli Virtanen wrote: > Wed, 10 Jun 2009 01:51:19 -0500, Gökhan SEVER kirjoitti: > > What's the reason again that memmap only works with binary files? > > There are no separate "text files" and "binary files". All files are > binary, some just contain text that in

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Gael Varoquaux
On Wed, Jun 10, 2009 at 02:20:00AM -0500, Gökhan SEVER wrote: >On Wed, Jun 10, 2009 at 2:03 AM, David Goldsmith ><[1]d_l_goldsm...@yahoo.com> wrote: > My present job - and the Summer Numpy Doc Marathon - is premised on > making changes/additions through the Wiki; if anyone other

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Robert Kern
On Wed, Jun 10, 2009 at 02:20, Gökhan SEVER wrote: > On Wed, Jun 10, 2009 at 2:03 AM, David Goldsmith > wrote: >> >> My present job - and the Summer Numpy Doc Marathon - is premised on making >> changes/additions through the Wiki; if anyone other than registered >> developers is to be messing w/ t

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Gökhan SEVER
On Wed, Jun 10, 2009 at 2:03 AM, David Goldsmith wrote: > > My present job - and the Summer Numpy Doc Marathon - is premised on making > changes/additions through the Wiki; if anyone other than registered > developers is to be messing w/ the rst, it's news to me. At this point, > someone who know

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread Pauli Virtanen
Wed, 10 Jun 2009 01:51:19 -0500, Gökhan SEVER kirjoitti: > What's the reason again that memmap only works with binary files? There are no separate "text files" and "binary files". All files are binary, some just contain text that in some cases represents an array of numbers. Memmap views also

Re: [Numpy-discussion] Question about memmap

2009-06-10 Thread David Goldsmith
My present job - and the Summer Numpy Doc Marathon - is premised on making changes/additions through the Wiki; if anyone other than registered developers is to be messing w/ the rst, it's news to me. At this point, someone who knows should please step in and clearly explain the relationship be