Why doesn't array(a, dtype=single, copy=0) downcast a double array.

Charles R Harris charlesr.harris at gmail.com
Mon Oct 16 13:25:13 CDT 2006

It seems to me that since the behaviour when copy=0 is to make a copy only
if necessary, it should find it necessary and make the downcast. After all,
array(a, dtype=single, copy=1) does just that without complaint. Some common
code in linalg could be replaced if array and asarray would do that

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20061016/600cf040/attachment.html 
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
-------------- next part --------------
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net

More information about the Numpy-discussion mailing list