Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Francesc Alted
A Friday 19 March 2010 18:13:33 Anne Archibald escrigué: [clip] What I didn't go into in detail in the article was that there's a trade-off of processing versus memory access available: we could reduce the memory load by a factor of eight by doing interpolation on the fly instead of all at

Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Anne Archibald
On 20 March 2010 06:32, Francesc Alted fal...@pytables.org wrote: A Friday 19 March 2010 18:13:33 Anne Archibald escrigué: [clip] What I didn't go into in detail in the article was that there's a trade-off of processing versus memory access available: we could reduce the memory load by a

Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Pauli Virtanen
Anne Archibald wrote: I'm not knocking numpy; it does (almost) the best it can. (I'm not sure of the optimality of the order in which ufuncs are executed; I think some optimizations there are possible.) Ufuncs and reductions are not performed in a cache-optimal fashion, IIRC dimensions are

[Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Charles R Harris
Example, Compute the qr factorization of a matrix. Factor the matrix `a` as `qr`, where `q` is orthonormal (:math:`dot( q_{:,i}, q_{:,j}) = \delta_{ij}`, the Kronecker delta) and `r` is upper-triangular. Arrggg... Totally. Unreadable. Why not say the columns of q are

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread josef . pktd
On Sat, Mar 20, 2010 at 2:00 PM, Charles R Harris charlesr.har...@gmail.com wrote: Example,     Compute the qr factorization of a matrix.     Factor the matrix `a` as `qr`, where `q` is orthonormal     (:math:`dot( q_{:,i}, q_{:,j}) = \delta_{ij}`, the Kronecker delta) and     `r` is

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Ralf Gommers
On Sun, Mar 21, 2010 at 2:00 AM, Charles R Harris charlesr.har...@gmail.com wrote: Example, Compute the qr factorization of a matrix. Factor the matrix `a` as `qr`, where `q` is orthonormal (:math:`dot( q_{:,i}, q_{:,j}) = \delta_{ij}`, the Kronecker delta) and `r` is

[Numpy-discussion] Array bug with character (regression from 1.4.0)

2010-03-20 Thread Ryan May
The following code, which works with numpy 1.4.0, results in an error: In [1]: import numpy as np In [2]: v = 'm' In [3]: dt = np.dtype('c') In [4]: a = np.asarray(v, dt) On 1.4.0: In [5]: a Out[5]: array('m', dtype='|S1') In [6]: np.__version__ Out[6]: '1.4.0' On SVN trunk:

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Charles R Harris
On Sat, Mar 20, 2010 at 12:15 PM, josef.p...@gmail.com wrote: On Sat, Mar 20, 2010 at 2:00 PM, Charles R Harris charlesr.har...@gmail.com wrote: Example, Compute the qr factorization of a matrix. Factor the matrix `a` as `qr`, where `q` is orthonormal (:math:`dot(

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread josef . pktd
On Sat, Mar 20, 2010 at 2:38 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 12:15 PM, josef.p...@gmail.com wrote: On Sat, Mar 20, 2010 at 2:00 PM, Charles R Harris charlesr.har...@gmail.com wrote: Example,     Compute the qr factorization of a matrix.

Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Dag Sverre Seljebotn
Pauli Virtanen wrote: Anne Archibald wrote: I'm not knocking numpy; it does (almost) the best it can. (I'm not sure of the optimality of the order in which ufuncs are executed; I think some optimizations there are possible.) Ufuncs and reductions are not performed in a cache-optimal fashion,

Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Anne Archibald
On 20 March 2010 14:56, Dag Sverre Seljebotn da...@student.matnat.uio.no wrote: Pauli Virtanen wrote: Anne Archibald wrote: I'm not knocking numpy; it does (almost) the best it can. (I'm not sure of the optimality of the order in which ufuncs are executed; I think some optimizations there are

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread David Cournapeau
On Sun, Mar 21, 2010 at 3:52 AM, josef.p...@gmail.com wrote: What's a terminal ?  For most packages, I'm reading sphinx generated docs. Broadly speaking, the equivalent of cmd.exe (i.e. dos windows) on unix. It is important to keep a good balance between readability in un-rendered (terminals)

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Alan G Isaac
On 3/20/2010 2:15 PM, josef.p...@gmail.com wrote: As far as I know, stars are the only way to render a list in restructured txt, otherwise it looses the list formatting. Try a definition list? Example below. Alan Returns --- q, r if mode = 'full': - q : ndarray of float or complex,

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Charles R Harris
On Sat, Mar 20, 2010 at 1:23 PM, David Cournapeau courn...@gmail.comwrote: On Sun, Mar 21, 2010 at 3:52 AM, josef.p...@gmail.com wrote: What's a terminal ? For most packages, I'm reading sphinx generated docs. Broadly speaking, the equivalent of cmd.exe (i.e. dos windows) on unix. It

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread David Goldsmith
On Sat, Mar 20, 2010 at 11:00 AM, Charles R Harris charlesr.har...@gmail.com wrote: Example,     Compute the qr factorization of a matrix.     Factor the matrix `a` as `qr`, where `q` is orthonormal     (:math:`dot( q_{:,i}, q_{:,j}) = \delta_{ij}`, the Kronecker delta) and     `r` is

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread David Goldsmith
On Sat, Mar 20, 2010 at 12:41 PM, David Goldsmith d.l.goldsm...@gmail.com wrote: On Sat, Mar 20, 2010 at 11:00 AM, Charles R Harris charlesr.har...@gmail.com wrote: Example,     Compute the qr factorization of a matrix.     Factor the matrix `a` as `qr`, where `q` is orthonormal    

Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Sebastian Haase
On Sat, Mar 20, 2010 at 8:22 PM, Anne Archibald peridot.face...@gmail.com wrote: On 20 March 2010 14:56, Dag Sverre Seljebotn da...@student.matnat.uio.no wrote: Pauli Virtanen wrote: Anne Archibald wrote: I'm not knocking numpy; it does (almost) the best it can. (I'm not sure of the

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Charles R Harris
On Sat, Mar 20, 2010 at 1:32 PM, Alan G Isaac ais...@american.edu wrote: On 3/20/2010 2:15 PM, josef.p...@gmail.com wrote: As far as I know, stars are the only way to render a list in restructured txt, otherwise it looses the list formatting. Try a definition list? Example below. Alan

Re: [Numpy-discussion] [OT] Starving CPUs article featured in IEEE's ComputingNow portal

2010-03-20 Thread Anne Archibald
On 20 March 2010 16:18, Sebastian Haase seb.ha...@gmail.com wrote: On Sat, Mar 20, 2010 at 8:22 PM, Anne Archibald peridot.face...@gmail.com wrote: On 20 March 2010 14:56, Dag Sverre Seljebotn da...@student.matnat.uio.no wrote: Pauli Virtanen wrote: Anne Archibald wrote: I'm not knocking

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Ralf Gommers
On Sun, Mar 21, 2010 at 4:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 1:32 PM, Alan G Isaac ais...@american.edu wrote: On 3/20/2010 2:15 PM, josef.p...@gmail.com wrote: As far as I know, stars are the only way to render a list in restructured txt,

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Charles R Harris
On Sat, Mar 20, 2010 at 7:45 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Sun, Mar 21, 2010 at 4:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 1:32 PM, Alan G Isaac ais...@american.eduwrote: On 3/20/2010 2:15 PM, josef.p...@gmail.com wrote:

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Ralf Gommers
On Sun, Mar 21, 2010 at 10:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 7:45 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Mar 21, 2010 at 4:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 1:32 PM,

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread josef . pktd
On Sat, Mar 20, 2010 at 10:54 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Mar 21, 2010 at 10:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 7:45 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Mar 21, 2010 at 4:18 AM, Charles

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Charles R Harris
On Sat, Mar 20, 2010 at 8:54 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Sun, Mar 21, 2010 at 10:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 7:45 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Mar 21, 2010 at 4:18 AM,

[Numpy-discussion] draft release guide

2010-03-20 Thread Ralf Gommers
Hi all, At http://github.com/rgommers/NumPy-release-guide you can find a summary of how to set up your system to build numpy binaries on OS X. I still have to add info on scipy (that's turning out to be fairly painful) but for numpy it is pretty complete. Any feedback is appreciated! Cheers,

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Ralf Gommers
On Sun, Mar 21, 2010 at 12:24 PM, Charles R Harris charlesr.har...@gmail.com wrote: Maybe handle it in a manner similar to the other sections. q,r mode = 'r'' q: [M,N] ndarray The columns of 'q' are orthonomal. r: [K,N] ndarray Upper triangular array. ... The

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread josef . pktd
On Sun, Mar 21, 2010 at 12:24 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 8:54 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Sun, Mar 21, 2010 at 10:18 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Sat, Mar 20, 2010 at 7:45 PM, Ralf

Re: [Numpy-discussion] Help!!! Docstrings overrun by markup crap.

2010-03-20 Thread Ralf Gommers
On Sun, Mar 21, 2010 at 12:47 PM, josef.p...@gmail.com wrote: dashes would be also ok, but I don't think rst would recognize them. Valid list markers are *, + and - according to http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#bullet-lists My main problem with rst is that