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

Charles R Harris charlesr.harris at gmail.com
Sun Apr 1 16:52:53 EDT 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://mail.python.org/pipermail/scipy-dev/attachments/20070401/05816989/attachment.html>


More information about the SciPy-Dev mailing list