[Numpy-discussion] Numpy book and PyArray_CastToType

Albert Strasheim fullung at gmail.com
Mon Nov 12 11:55:21 EST 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 at 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