24 Jul
2006
24 Jul
'06
3:31 p.m.
Sebastian Haase wrote:
Hi, if I have a numpy array 'a' and say: a.dtype == numpy.float32
Is the result independent of a's byteorder ?
The byteorder is a property of the data-type (not of the array) --- this is different from numarray where byteorder is a property of the array. a.dtype == numpy.float32 will always set the data-type to a machine-native float32 data-type. -Travis