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

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

主站蜘蛛池模板: 同德县| 洪雅县| 沁源县| 林甸县| 玉田县| 西和县| 南漳县| 繁峙县| 师宗县| 沂源县| 白朗县| 基隆市| 恩施市| 咸阳市| 疏勒县| 山西省| 虹口区| 加查县| 抚顺市| 犍为县| 北川| 故城县| 乌兰察布市| 华蓥市| 大新县| 长武县| 昭觉县| 吉首市| 德清县| 秦安县| 临漳县| 旅游| 彩票| 辽阳市| 安多县| 凤山县| 灵宝市| 宁都县| 白山市| 自贡市| 慈利县|