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

2010-03-20 Thread Ralf Gommers
On Sun, Mar 21, 2010 at 12:47 PM, 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 it doesn't allow h

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 wrote: > > > On Sat, Mar 20, 2010 at 8:54 PM, Ralf Gommers > wrote: >> >> >> On Sun, Mar 21, 2010 at 10:18 AM, Charles R Harris >> wrote: >>> >>> >>> On Sat, Mar 20, 2010 at 7:45 PM, Ralf Gommers >>> wrote: On Sun, Mar 21, 2010 a

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 >

[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, Ral

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 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, Char

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 wrote: > > > On Sun, Mar 21, 2010 at 10:18 AM, Charles R Harris > wrote: >> >> >> On Sat, Mar 20, 2010 at 7:45 PM, Ralf Gommers >> wrote: >>> >>> >>> On Sun, Mar 21, 2010 at 4:18 AM, Charles R Harris >>> wrote: On Sat, Mar 20, 2010 a

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 > 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, A

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 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, Alan G Isaac wrote: >> >>> On 3/20/2010 2:15 PM, josef.p...@gmail.com wrote: >>> > As far as I know, stars

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 wrote: > > > On Sat, Mar 20, 2010 at 1:32 PM, Alan G Isaac 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 formatt

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 wrote: > On Sat, Mar 20, 2010 at 8:22 PM, Anne Archibald > wrote: >> On 20 March 2010 14:56, Dag Sverre Seljebotn >> wrote: >>> Pauli Virtanen wrote: Anne Archibald wrote: > I'm not knocking numpy; it does (almost) the best it can. (I'm not >

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 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 > > > Returns

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 wrote: > On 20 March 2010 14:56, Dag Sverre Seljebotn > 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 ex

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 wrote: > On Sat, Mar 20, 2010 at 11:00 AM, Charles R Harris > 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}) = \del

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 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 upper-triangular

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 wrote: > On Sun, Mar 21, 2010 at 3:52 AM, 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

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 David Cournapeau
On Sun, Mar 21, 2010 at 3:52 AM, 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) and rendered mod

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 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 possible.) >> >

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

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 wrote: > > > On Sat, Mar 20, 2010 at 12:15 PM, wrote: >> >> On Sat, Mar 20, 2010 at 2:00 PM, Charles R Harris >> wrote: >> > Example, >> > >> >>     Compute the qr factorization of a matrix. >> >> >> >>     Factor the matrix `a` as `qr`, where `q

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, wrote: > On Sat, Mar 20, 2010 at 2:00 PM, Charles R Harris > 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}`,

[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: /home/rmay/

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 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 upper-triangular.

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 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 upper-triangular.

[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] [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

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 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 factor of eight

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