dot product
英 /dɒt ˈprɒdʌkt/美 /dɑt ˈprɑdəkt/
n. 名词
点积;数量积;内积
基本释义
dot product 是数学术语,指两个向量之间的一种乘法运算,也称数量积或内积。其本义为:给定两个 n 维向量 a 和 b,将它们对应分量相乘后求和,所得结果是一个标量,记作 a·b。例如二维向量 (a₁, a₂) 与 (b₁, b₂) 的点积为 a₁b₁ + a₂b₂。这一运算的几何意义是:a·b = |a||b|cosθ,其中 θ 为两向量夹角。由此引申出判断向量垂直(点积为零)、计算向量长度(自身点积开方)以及求投影等用途。在更抽象的数学语境中,dot product 可泛指内积空间中的内积,但严格来说内积是更广的概念,点积特指欧几里得空间中的标准内积。该词没有日常引申义,始终限于数学、物理、工程与计算机科学领域。
构词与来源
dot 源自中古英语 dott,指小圆点,可能来自低地德语或荷兰语,与德语 Tüpfel 同源。product 源自拉丁语 productum,是动词 producere(向前引出、产生)的过去分词中性形式,由 pro-(向前)和 ducere(引导)构成。在数学中,dot product 得名于运算符号:两个向量写作 a·b,中间的点号即 dot,故称“点积”。与之相对的是 cross product(叉积),因符号为 × 而得名。记忆逻辑:dot 指符号中的点,product 指乘法结果,合起来就是“用点号表示的乘法”。注意 product 在这里不指“产品”,而是数学中的“积”。
常见语境
dot product 主要出现在学术与技术语境。在数学、物理、工程学的教材和论文中,它是线性代数与向量分析的基本概念,语气正式、中性。在计算机科学中,机器学习、计算机图形学、信息检索等领域频繁使用,如计算余弦相似度、光照模型、神经网络中的加权求和。在技术文档和编程教程中,dot product 常与函数名 dot() 或 inner() 并用。日常口语和新闻报道中几乎不出现,除非在科普文章里用比喻解释。商务邮件和法律文本中也不会使用,除非涉及技术专利或算法描述。文学作品中基本不出现。总体而言,这是一个高度专业化的术语,语域正式,不含感情色彩。
语法提示
dot product 是可数名词,通常用单数形式,但也可说 dot products 指多个点积。常见句型:the dot product of A and B(A 与 B 的点积);calculate/compute/find the dot product;the dot product is zero/positive/negative。作主语时谓语用单数:The dot product of two perpendicular vectors is zero. 易错点:一、不要与 cross product 混淆,后者结果是向量。二、点积运算不满足结合律,即 (a·b)·c 无意义,因为 a·b 是标量,标量与向量不能做点积。三、点积满足交换律:a·b = b·a。四、书写时点号不可省略,a·b 与 ab 不同。五、在中文里常译为“点积”或“数量积”,但“内积”有时指更一般的内积,需根据上下文区分。
同义词区别
与 dot product 最接近的是 inner product(内积)。在欧几里得空间中,两者常互换使用,但严格来说,inner product 是更广泛的概念,适用于任何内积空间,而 dot product 特指标准欧几里得内积。在抽象数学中,只能说 inner product,不能说 dot product。另一个相关词是 scalar product(数量积),它与 dot product 同义,强调结果是标量,常见于英式英语和物理教材。与 cross product(叉积)相对,后者结果是向量,用于三维空间。与 matrix multiplication(矩阵乘法)不同,点积是向量间的运算,矩阵乘法是更复杂的运算。与 element-wise product(逐元素乘积)不同,后者结果仍是向量,而点积是标量。选择时:在具体计算和编程中用 dot product;在抽象理论中用 inner product;在物理中 scalar product 也常见。
常见误区
dot product 是专业术语,语域正式,不带褒贬色彩。常见误用包括:一、将点积与叉积混为一谈,尤其在三维几何中,两者结果类型不同。二、误以为点积满足结合律,实际上 (a·b)·c 不合法。三、在非欧几里得空间中使用 dot product 一词,此时应说 inner product。四、中文翻译不统一,有时译“点积”,有时译“内积”,在学术写作中应前后一致。五、在编程中,某些库的 dot 函数可能指矩阵乘法或逐元素乘法,需查阅文档确认。六、点积的符号 a·b 中的点号在排版时易与句号混淆,应使用居中点。总体而言,只要在数学和工程语境中正确使用,不会产生歧义。
相关词条
搭配用法
- dot product of two vectors
- calculate the dot product
- compute the dot product
- the dot product is zero
- dot product formula
- dot product operator
- take the dot product
- dot product space
实用例句
The dot product of vectors (1, 2) and (3, 4) is 1×3 + 2×4 = 11.
If the dot product of two nonzero vectors is zero, they are perpendicular.
In machine learning, the dot product is used to compute the weighted sum of inputs.
The cosine similarity between two documents is the dot product of their normalized vectors.
You can use the dot product to find the angle between two vectors.
The dot product is also called the scalar product because it returns a scalar.