changgouliuyue5的个人博客分享 http://blog.sciencenet.cn/u/changgouliuyue5

博文

内积和外积

已有 4840 次阅读 2016-8-23 17:23 |系统分类:科研笔记

内积就是两个向量的数量积。

外积容易和向量积(即叉积(cross product))混淆。在百度搜外积出来的基本都是向量积,而维基百科对外积和向量积有明显区分。

两向量的外积最终结果是一个矩阵,而向量积最终结果还是一列向量。

下图是外积:

{.displaystyle {.begin{aligned}.mathbf {u} .otimes .mathbf {v} =.mathbf {u} .mathbf {v} ^{.mathrm {T} }={.begin{bmatrix}u_{1}..u_{2}..u_{3}..u_{4}.end{bmatrix}}{.begin{bmatrix}v_{1}&v_{2}&v_{3}.end{bmatrix}}={.begin{bmatrix}u_{1}v_{1}&u_{1}v_{2}&u_{1}v_{3}..u_{2}v_{1}&u_{2}v_{2}&u_{2}v_{3}..u_{3}v_{1}&u_{3}v_{2}&u_{3}v_{3}..u_{4}v_{1}&u_{4}v_{2}&u_{4}v_{3}.end{bmatrix}}..end{aligned}}}

维基百科Cross product:https://en.wikipedia.org/wiki/Cross_product

Outer product: https://en.wikipedia.org/wiki/Outer_product




https://blog.sciencenet.cn/blog-767575-998216.html


下一篇:ultraedit宏&不打开文件替换字符&删除文件多余空行
收藏 IP: 210.72.80.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-28 23:13

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部