On Thursday 10 August 2006 21:32, Sebastian Haase wrote:
Travis Oliphant wrote:
Sebastian Haase wrote:
Hi,
Does numpy.ascontiguousarray(arr) fix the byteorder when arr is
non-native byteorder ?
If not, what functions does ?
It can if you pass in a data-type with the right
Sebastian Haase wrote:
I just found this in myCVS/numpy/numpy/core/tests/test_numerictypes.py
code
def normalize_descr(descr):
Normalize a description adding the platform byteorder.
return out
/code
Is that what I was talking about !? It's quite a big animal.
Would this
A Divendres 11 Agost 2006 22:02, Travis Oliphant va escriure:
Sebastian Haase wrote:
I just found this in myCVS/numpy/numpy/core/tests/test_numerictypes.py
code
def normalize_descr(descr):
Normalize a description adding the platform byteorder.
return out
/code
Is that
Hi,
Does numpy.ascontiguousarray(arr) fix the byteorder when arr is non-native
byteorder ?
If not, what functions does ?
- Sebastian Haase
-
Using Tomcat but need to do more? Need to support web services, security?
Get
Sebastian Haase wrote:
Hi,
Does numpy.ascontiguousarray(arr) fix the byteorder when arr is non-native
byteorder ?
If not, what functions does ?
It can if you pass in a data-type with the right byteorder (or use a
native built-in data-type).
In NumPy, it's the data-type that carries
Travis Oliphant wrote:
Sebastian Haase wrote:
Hi,
Does numpy.ascontiguousarray(arr) fix the byteorder when arr is
non-native byteorder ?
If not, what functions does ?
It can if you pass in a data-type with the right byteorder (or use a
native built-in data-type).
In NumPy, it's