官术网_书友最值得收藏!

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 y+ x2y2

x . y = x1 y+ x2y2

主站蜘蛛池模板: 肥城市| 阿拉善左旗| 沐川县| 靖江市| 筠连县| 阳泉市| 伊金霍洛旗| 奉新县| 渭南市| 丰城市| 九江县| 静安区| 常山县| 平度市| 墨脱县| 潼关县| 北安市| 新和县| 丹寨县| 桃江县| 嵊泗县| 饶河县| 石泉县| 古丈县| 余姚市| 肃南| 霍城县| 巩义市| 房产| 涟源市| 灵寿县| 石嘴山市| 康定县| 泰来县| 渝北区| 曲周县| 兴安县| 英吉沙县| 桃源县| 黄陵县| 临西县|