- Machine Learning Quick Reference
- Rahul Kumar
- 123字
- 2021-08-20 10:05:10
Dot product
The dot product of two vectors returns a number that happens to be scalar. It is a representation of how two vectors are associated with each other.
Geometrically, the dot product of two vectors x and y would be as follows:
x . y= ||x|| ||y|| cosθ
θ is the angle between the vector x and y.
However, algebraically, we get the following:

Geometrically, we get the following:
θ=β-α
cosθ=cos(β-α)
cosθ = cosβ cosα + sinβ sinα
cosθ = (x1/||x||) (y1/||y||) + (x2/||x||) (y2/||y||)
||x||||y|| cosθ= x1 y1 + x2y2
x . y = x1 y1 + x2y2
推薦閱讀
- 輕松學C語言
- Verilog HDL數字系統設計入門與應用實例
- Getting Started with Oracle SOA B2B Integration:A Hands-On Tutorial
- 數據中心建設與管理指南
- 空間傳感器網絡復雜區域智能監測技術
- Windows游戲程序設計基礎
- 液壓機智能故障診斷方法集成技術
- Excel 2010函數與公式速查手冊
- Mastering Geospatial Analysis with Python
- Learn QGIS
- 手機游戲策劃設計
- Web璀璨:Silverlight應用技術完全指南
- 傳感器原理與工程應用
- 手把手教你學Photoshop CS3
- RealFlow流體制作經典實例解析