[Numpy-discussion] Numpy book and PyArray_CastToType

Albert Strasheim fullung@gmail....
Mon Nov 12 10:55:21 CST 2007


Hello,

Have you considered looking at the source for PyArray_CastToType in 
core/src/arrayobject.c?

Cheers,

Albert

On Mon, 12 Nov 2007, Matthieu Brucher wrote:

> Nobody can answer this ?
> 
> Matthieu
> 
> 2007/11/4, Matthieu Brucher <matthieu.brucher@gmail.com>:
> >
> > Hi,
> >
> > I'm trying to use PyArray_CastToType(), but according to the book, there
> > are two arguments, a PyArrayObject* and a PyArrayDescr*, but according to
> > the header file, there are three arguments, an additional int. Does someone
> > know its use ?
> >
> > Matthieu


More information about the Numpy-discussion mailing list