Hello list,

What is the easiest way to convert a function argument to at least a 1D
array of specified dtype?

atleast_1d(3,dtype='d') doesn't work (numpy 1.3.0)

array(atleast_1d(3),dtype='d') works but seems cumbersome

Thanks,

Mark
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to