[SciPy-user] what does 'd' mean in array([0.0, 1.0, 2.0, 3.0], 'd')

Robert Kern robert.kern@gmail....
Thu Aug 30 11:42:24 CDT 2007

dmitrey wrote:

> It seems it's important - I got this x from fortran code, that uses 
> numpy (ALGENCAN).
>  >>> type(x)
> <type 'array'>
>  >>> x.shape
> (4,)

That looks like a Numeric array, not a numpy one. Although, Numeric didn't print
out the 'd', either.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the SciPy-user mailing list