Updated Dot Product.md (markdown)
commited
commit
020c99eb17fd82dcbca76b9c69a98bd7fdf2667b
... | ... | @@ -7,6 +7,10 @@ A•B = (Ax×Bx)+(Ay×By)+(Az×Bz) |
7 | 7 | |
8 | 8 | ## Example |
9 | 9 | |
10 | If the two input vectors are unit vectors (vectors with length of 1), the dot product outputs the cosine of the angles formed by those two vectors. If the two input aren't unit vectors, we can still find the cosine of the angle with these two methods: |
|
10 | If the two input vectors are unit vectors (vectors with length of 1), the dot product outputs the cosine of the angles formed by those two vectors. If the two input aren't unit vectors, we can still find the cosine of the angle with two methods: |
|
11 | ||
12 | - Normalize the two input vectors first before the dot product. |
|
13 | ||
14 | - Get the output of the dot product and divide it by the product of the two input vectors' length. |
|
11 | 15 | |
12 | 16 | [[/uploads/20210106_122008.jpg]] |
... | ... | \ No newline at end of file |