[Numpy-discussion] Distance Formula on an Array

Ian Mallett geometrian@gmail....
Sun Apr 26 17:53:18 CDT 2009


It was in an error code somewhere.  I fixed the problem by messing around
with it.  I tried the following:
a = numpy.array([1, 2, 3])
print a
and it gave:
[1, 2, 3]
instead of:
array([1, 2, 3])
Then there were errors about it being a sequence instead of an array
somewhere else.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090426/aa29701f/attachment.html 


More information about the Numpy-discussion mailing list