Is this the intended behavior?

     >>> from numpy import matlib
     >>> m = matlib.reshape([1,2],(2,1))
     >>> type(m)
     <type 'numpy.ndarray'>

For any 2d shape, I expected a matrix.
(And probably an exception if the shape is not 2d.)

Thanks,
Alan Isaac
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to