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

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

主站蜘蛛池模板: 东海县| 利津县| 新河县| 彭泽县| 郎溪县| 葫芦岛市| 介休市| 孟村| 金寨县| 烟台市| 镇原县| 永兴县| 勃利县| 黄大仙区| 阆中市| 虹口区| 鹿泉市| 拉萨市| 宝兴县| 麻栗坡县| 徐汇区| 监利县| 郓城县| 虎林市| 全州县| 镇雄县| 台北市| 玉田县| 平顺县| 南和县| 平武县| 万山特区| 凤山县| 雷州市| 乐安县| 洪泽县| 修文县| 武汉市| 陵川县| 东丰县| 山阳县|