[SciPy-dev] Violation of array scalar multiplication rules?

Charles R Harris charlesr.harris@gmail....
Sun Apr 1 15:52:53 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/scipy-dev/attachments/20070401/05816989/attachment.html 


More information about the Scipy-dev mailing list