Re: [Numpy-discussion] latex equations in docstrings

2009-06-24 Thread Pauli Virtanen
On 2009-06-24, Robert Kern wrote: [clip] > Yes. The HOWTO_BUILD_DOCS.txt is unfortunately out of date. So it is. Rewritten. -- Pauli Virtanen ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-d

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Darren Dale
On Wed, Jun 24, 2009 at 4:08 PM, Charles R Harris wrote: > On Wed, Jun 24, 2009 at 1:49 PM, Darren Dale wrote: > > On Wed, Jun 24, 2009 at 3:37 PM, Charles R Harris > > wrote: > >> > >> On Wed, Jun 24, 2009 at 8:52 AM, Darren Dale wrote: > >> > On Wed, Jun 24, 2009 at 9:42 AM, Charles R Harris >

Re: [Numpy-discussion] latex equations in docstrings

2009-06-24 Thread Robert Kern
On Wed, Jun 24, 2009 at 15:14, Chris Kees wrote: > Hi, > > Apologies if I sent two copies of this message to the list. If I'm using the > math directive in my docstrings following the scipy guidelines > (http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines), what tool do I > need to use in or

[Numpy-discussion] latex equations in docstrings

2009-06-24 Thread Chris Kees
Hi, Apologies if I sent two copies of this message to the list. If I'm using the math directive in my docstrings following the scipy guidelines (http://projects.scipy.org/numpy/wiki/ CodingStyleGuidelines), what tool do I need to use in order to generate html with properly formated equatio

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Charles R Harris
On Wed, Jun 24, 2009 at 1:49 PM, Darren Dale wrote: > On Wed, Jun 24, 2009 at 3:37 PM, Charles R Harris > wrote: >> >> On Wed, Jun 24, 2009 at 8:52 AM, Darren Dale wrote: >> > On Wed, Jun 24, 2009 at 9:42 AM, Charles R Harris >> > wrote: >> >> >> >> On Wed, Jun 24, 2009 at 7:08 AM, Darren Dale wr

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Darren Dale
On Wed, Jun 24, 2009 at 3:37 PM, Charles R Harris wrote: > On Wed, Jun 24, 2009 at 8:52 AM, Darren Dale wrote: > > On Wed, Jun 24, 2009 at 9:42 AM, Charles R Harris > > wrote: > >> > >> On Wed, Jun 24, 2009 at 7:08 AM, Darren Dale wrote: > >> > On Wed, May 27, 2009 at 11:30 AM, Darren Dale > >>

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Charles R Harris
On Wed, Jun 24, 2009 at 8:52 AM, Darren Dale wrote: > On Wed, Jun 24, 2009 at 9:42 AM, Charles R Harris > wrote: >> >> On Wed, Jun 24, 2009 at 7:08 AM, Darren Dale wrote: >> > On Wed, May 27, 2009 at 11:30 AM, Darren Dale >> > wrote: >> >> >> >> Now that numpy-1.3 has been released, I was hoping

Re: [Numpy-discussion] convolve optimisation...

2009-06-24 Thread Chris Colbert
do you mean that the values in the kernel depends on the kernels position relative to the data to be convolved, or that the kernel is not composed of homogeneous values but otherwise does not change as it is slid around the source data? If the case is the latter, you may be better off doing the co

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread David Cournapeau
Kurt Smith wrote: > On Wed, Jun 24, 2009 at 9:05 AM, David > Cournapeau wrote: > >> Kurt Smith wrote: >> >>> On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau >>> wrote: >>> >>> >>> If possible, you should not build executables, it is not portable. Compiling and linking i

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread Kurt Smith
On Wed, Jun 24, 2009 at 9:05 AM, David Cournapeau wrote: > Kurt Smith wrote: >> On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau wrote: >> >> >>> If possible, you should not build executables, it is not portable. >>> Compiling and linking is Ok, running is not. For a tool which is aimed >>> a gen

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Darren Dale
On Wed, Jun 24, 2009 at 9:42 AM, Charles R Harris wrote: > On Wed, Jun 24, 2009 at 7:08 AM, Darren Dale wrote: > > On Wed, May 27, 2009 at 11:30 AM, Darren Dale > wrote: > >> > >> Now that numpy-1.3 has been released, I was hoping I could engage the > >> numpy developers and community concerning

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread David Cournapeau
Kurt Smith wrote: > On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau wrote: > > >> If possible, you should not build executables, it is not portable. >> Compiling and linking is Ok, running is not. For a tool which is aimed >> a general use, I think this is important. Knowing the exact tests >

Re: [Numpy-discussion] MKL Path error on Cygwin after installing on windows.

2009-06-24 Thread David Cournapeau
Sandeep Devadas wrote: > Hi David, > I tried what you told me and Im getting this error.Please > let me know what to do next. What about installing nose :) http://somethingaboutorange.com/mrl/projects/nose/0.11.1/ You need setuptools installed. Note that those are only necessary for

Re: [Numpy-discussion] Help using numpy.distutils.fcompiler for my GSoC project

2009-06-24 Thread Kurt Smith
On Tue, Jun 23, 2009 at 10:17 PM, David Cournapeau wrote: > If possible, you should not build executables, it is not portable. > Compiling and linking is Ok, running is not. For a tool which is aimed > a general use, I think this is important. Knowing the exact tests > needed by the OP would help

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Charles R Harris
On Wed, Jun 24, 2009 at 7:08 AM, Darren Dale wrote: > On Wed, May 27, 2009 at 11:30 AM, Darren Dale wrote: >> >> Now that numpy-1.3 has been released, I was hoping I could engage the >> numpy developers and community concerning my suggestion to improve the ufunc >> wrapping mechanism. Currently, u

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-06-24 Thread Darren Dale
On Wed, May 27, 2009 at 11:30 AM, Darren Dale wrote: > Now that numpy-1.3 has been released, I was hoping I could engage the numpy > developers and community concerning my suggestion to improve the ufunc > wrapping mechanism. Currently, ufuncs call, on the way out, the > __array_wrap__ method of

Re: [Numpy-discussion] convolve optimisation...

2009-06-24 Thread fred
Stéfan van der Walt a écrit : > If your kernel varies with i and j, you have little choice but to do > this at the C level. > > Have a look at the Cython convolution example here: Thanks. I'm looking at it. > Alternatively, David Cournapeau can take this opportunity to > illustrate his very nift

Re: [Numpy-discussion] convolve optimisation...

2009-06-24 Thread Stéfan van der Walt
2009/6/24 fred : > fred a écrit : >> Hi all, >> >> Say I have a 2D array A(nx, ny). >> >> In each A[i, j] I want to compute convolve(a, kernel) >> >> where a is subarray of A. >> >> a and kernel are small besides A. > I forgot to mention: kernel is not constant, of course. > It varies vs. others pa

Re: [Numpy-discussion] convolve optimisation...

2009-06-24 Thread fred
fred a écrit : > Hi all, > > Say I have a 2D array A(nx, ny). > > In each A[i, j] I want to compute convolve(a, kernel) > > where a is subarray of A. > > a and kernel are small besides A. I forgot to mention: kernel is not constant, of course. It varies vs. others parameters. Cheers, -- Fred

[Numpy-discussion] convolve optimisation...

2009-06-24 Thread fred
Hi all, Say I have a 2D array A(nx, ny). In each A[i, j] I want to compute convolve(a, kernel) where a is subarray of A. a and kernel are small besides A. The problem is that nx & ny are quite "big", ie ~1000, so using a loop on i & j is forbidden here. So how can I do what I want? Any idea?

Re: [Numpy-discussion] MKL Path error on Cygwin after installing on windows.

2009-06-24 Thread Sandeep Devadas
Hi David, I tried what you told me and Im getting this error.Please let me know what to do next. $ python Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more inform