[Numpy-discussion] Distance Formula on an Array

Ian Mallett geometrian at gmail.com
Sun Apr 26 18:53:18 EDT 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.python.org/pipermail/numpy-discussion/attachments/20090426/aa29701f/attachment.html>


More information about the NumPy-Discussion mailing list