On Wed, May 02, 2007 at 12:38:12AM +0200, Guillem Borrell i Nogueras wrote:
> lapack.argtypes=[c_int,c_int,
> ndpointer(dtype=float64,
>ndim=2,
>flags='FORTRAN'),
> c_int,c_int,
>
Hi Guillem
On Wed, May 02, 2007 at 12:38:12AM +0200, Guillem Borrell i Nogueras wrote:
> I wrote the next function just to learn how ctypes work with numpy arrays. I
> am not trying to write yet another wrapper to lapack, it's just an
> experiment. (you can cut and paste the code)
>
> from cty
Hi
I wrote the next function just to learn how ctypes work with numpy arrays. I
am not trying to write yet another wrapper to lapack, it's just an
experiment. (you can cut and paste the code)
from ctypes import c_int
from numpy import array,float64
from numpy.ctypeslib import load_library,ndpo