Re: [Numpy-discussion] Looking for people interested in helping with Python compiler to LLVM

2012-03-10 Thread Mic
what is the difference to http://www.python.org/dev/peps/pep-3146/ ? On Sun, Mar 11, 2012 at 4:35 PM, Travis Oliphant wrote: > Hey all, > > I gave a lightning talk this morning on numba which is the start of a > Python compiler to machine code through the LLVM tool-chain. It is proof > of conce

Re: [Numpy-discussion] about sympy

2012-03-10 Thread Val Kalatsky
Can you? The question should be: Why sympy does not have Fresnel integrals? On Sun, Mar 11, 2012 at 1:06 AM, aa wrote: > why sympy cannot integrate sin(x**2)?? > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/m

Re: [Numpy-discussion] about sympy

2012-03-10 Thread Sameer Grover
It does not have an anti-derivative in terms of elementary functions. You could do a series expansion and integrate each term. Note that this is the numpy mailing list. The sympy mailing list is to be found at http://sympy.org/en/support.html Sameer On 11 March 2012 12:36, aa wrote: > why sympy

[Numpy-discussion] about sympy

2012-03-10 Thread aa
why sympy cannot integrate sin(x**2)?? ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] Looking for people interested in helping with Python compiler to LLVM

2012-03-10 Thread Travis Oliphant
Hey all, I gave a lightning talk this morning on numba which is the start of a Python compiler to machine code through the LLVM tool-chain. It is proof of concept stage only at this point (use it only if you are interested in helping develop the code at this point). The only thing that wor

Re: [Numpy-discussion] f2py and pygtk on windows

2012-03-10 Thread Sameer Grover
On 10 March 2012 02:23, Christoph Gohlke wrote: > > > On 3/9/2012 11:50 AM, Sameer Grover wrote: > import gtk > import foo # where foo is any f2py-wrapped program >> >> Subsequently, on exiting python interpreter, the interpreter crashes >> with this error message - "This application has r

Re: [Numpy-discussion] (2012) Accessing LAPACK and BLAS from the numpy C API

2012-03-10 Thread sole
Hi Sturla, Quoting Sturla Molden : > Den 10.03.2012 22:56, skrev Sturla Molden: >> >> I am not sure why NumPy uses f2c'd routines instead of a dependency >> on BLAS and LAPACK like SciPy. > > Actually, np.dot does depend on the CBLAS interface to BLAS (_dotblas.c). > > But the lapack methods in

Re: [Numpy-discussion] (2012) Accessing LAPACK and BLAS from the numpy C API

2012-03-10 Thread Pauli Virtanen
10.03.2012 23:19, Sturla Molden kirjoitti: [clip] > If the intention is to avoid Fortran dependency in NumPy, I am not sure > why this is better than a dependency on CBLAS and LAPACKE. The CBLAS parts aren't compiled if the library is not available --- in that case Numpy just falls back to a total

Re: [Numpy-discussion] (2012) Accessing LAPACK and BLAS from the numpy C API

2012-03-10 Thread Sturla Molden
Den 10.03.2012 22:56, skrev Sturla Molden: I am not sure why NumPy uses f2c'd routines instead of a dependency on BLAS and LAPACK like SciPy. Actually, np.dot does depend on the CBLAS interface to BLAS (_dotblas.c). But the lapack methods in lapack_lite seems to use f2c'd code. I am not sur

Re: [Numpy-discussion] (2012) Accessing LAPACK and BLAS from the numpy C API

2012-03-10 Thread Sturla Molden
Den 07.03.2012 21:02, skrev "V. Armando Solé": I had already used the information Robert Kern provided on the 2009 thread and obtained the PyCObject as: from scipy.linalg.blas import fblas dgemm = fblas.dgemm._cpointer sgemm = fblas.sgemm._cpointer but I did not find a way to obtain those po

Re: [Numpy-discussion] (2012) Accessing LAPACK and BLAS from the numpy C API

2012-03-10 Thread Sturla Molden
Den 07.03.2012 21:02, skrev "V. Armando Solé": I had already used the information Robert Kern provided on the 2009 thread and obtained the PyCObject as: from scipy.linalg.blas import fblas dgemm = fblas.dgemm._cpointer sgemm = fblas.sgemm._cpointer but I did not find a way to obtain those po