[Numpy-discussion] f2py with int8
Thu Apr 19 07:17:09 CDT 2012
On 17.04.2012 07:32, John Mitchell wrote:
> I am using f2py to pass a numpy array of type numpy.int8 to fortran. It
> seems like I am misunderstanding something because I just can't make it
> Here is what I am doing.
This returns an array with dtype int.
b = numpy.zeros(shape=(10,),dtype=numpy.int8,order='F')
More information about the NumPy-Discussion