[Numpy-discussion] Violation of array scalar multiplication rules?

Charles R Harris charlesr.harris@gmail....
Sun Apr 1 15:54:41 CDT 2007


Just asking.

In [35]: type(array(1.0)*2)
Out[35]: <type 'numpy.float64'>

In [36]: type(array(1.0))
Out[36]: <type 'numpy.ndarray'>

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20070401/9c0ffa32/attachment.html 


More information about the Numpy-discussion mailing list