[Numpy-discussion] dot function or dot notation, matrices, arrays?

David Goldsmith d.l.goldsmith at gmail.com
Sat Dec 19 01:44:44 EST 2009


np.dot(x.flat, x.flat) _is exactly_ "sum of squares"(x.flat).  Your
math education appears to have drawn a distinction between "dot
product" and "scalar product," that, when one is talking about
Euclidean vectors, just isn't there: in that context, they are one and
the same thing.

DG

On Fri, Dec 18, 2009 at 9:29 PM, Wayne Watson
<sierra_mtnview at sbcglobal.net> wrote:
> I'll amend that. I should have said, "Dot's all folks." -- Bugs Bunny
>
> --
>           Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>
>             (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>              Obz Site:  39° 15' 7" N, 121° 2' 32" W, 2700 feet
>
>             "... humans'innate skills with numbers isn't much
>              better than that of rats and dolphins."
>                       -- Stanislas Dehaene, neurosurgeon
>
>                    Web Page: <www.speckledwithstars.net/>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



More information about the NumPy-Discussion mailing list