Can someone explain this to me I think Im being a retard.
I have two vectors: a,b. I can rewrite ||a-b||^2 as (a-b) . (a-b) which is fine. But, on the example I'm looking at, they expand it out further:
a . a -* a . b - b . a +* b . b . I've put an astrix next to the minus and plus signs because I'm unsure why those operators are used. Should it be a . a + a . -b - b . a - b . -b Or am I being stupid?