Corrected formatting issue
commited
commit
16db8acf283335fd59c6ffe2850e4f1a8f61a1c9
... | ... | @@ -4,10 +4,7 @@ We can calculate the Dot Product of two vectors this way: |
4 | 4 | |
5 | 5 | A · B = \|A\| × \|B\| × cos(θ) |
6 | 6 | |
7 | Where: |
|
8 | \|A\| is the magnitude (length) of vector A, |
|
9 | \|B\| is the magnitude (length) of vector B, |
|
10 | and θ is the angle between A and B. |
|
7 | Where \|A\| is the magnitude (length) of vector A, \|B\| is the magnitude (length) of vector B, and θ is the angle between A and B. |
|
11 | 8 | |
12 | 9 | So we multiply the length of A times the length of B, then multiply by the cosine of the angle between A and B. |
13 | 10 |