[Numpy-discussion] Efficient square distance computation

Julian Taylor jtaylor.debian at googlemail.com
Tue Oct 8 08:40:37 EDT 2013


On Tue, Oct 8, 2013 at 1:38 PM, Ke Sun <sunk.cs at gmail.com> wrote:

>
> > On a machine I had access to it took about 20 minutes.
> How? I am using matrix multiplication (the same code as
> http://stackoverflow.com/a/4856692) and it runs for around 18 hours.
>
>
make sure you are using an optimized BLAS library.
e.g. with openblas I could also do this size in about 100 seconds wall time
(20 minutes cpu time).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20131008/6dcf4b00/attachment.html>


More information about the NumPy-Discussion mailing list