Learn Before
Definition

Dot Product

Given two vectors x,yRd\mathbf{x}, \mathbf{y} \in \mathbb{R}^d, their dot product, commonly denoted as xopy\mathbf{x}^ op \mathbf{y} and also referred to as the inner product x,yangle\langle \mathbf{x}, \mathbf{y} angle, is computed as the sum of the products of their elements at corresponding positions. This fundamental operation results in a scalar value and is mathematically defined by the formula: xopy=i=1dxiyi\mathbf{x}^ op \mathbf{y} = \sum_{i=1}^{d} x_i y_i.

0

1

Updated 2026-05-02

Tags

Python Programming Language

Data Science

Foundations of Large Language Models Course

Computing Sciences

D2L

Dive into Deep Learning @ D2L