Sun, 18 Jul 2010 17:26:13 -0500, Ross Harder wrote: > I don't understand the following. >>> a=np.zeros( (3,3,3), dtype='Complex128') >>>> a > array([[[0.0+0.0j, 0.0+0.0j, 0.0+0.0j], > [0.0+0.0j, 0.0+0.0j, 0.0+0.0j], > [0.0+0.0j, 0.0+0.0j, 0.0+0.0j]], > > [[0.0+0.0j, 0.0+0.0j, 0.0+0.0j], > [0.0+0.0j, 0.0+0.0j, 0.0+0.0j], > [0.0+0.0j, 0.0+0.0j, 0.0+0.0j]], > > [[0.0+0.0j, 0.0+0.0j, 0.0+0.0j], > [0.0+0.0j, 0.0+0.0j, 0.0+0.0j], > [0.0+0.0j, 0.0+0.0j, 0.0+0.0j]]], dtype=complex256) > > i ask for Complex128 and get complex256?
What platform? On Win-64 longdouble == double. Of course, the byte-width names should still reflect the reality. Please file a bug ticket... -- Pauli Virtanen _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion