What is it?
. It measures how much two vectors point the same way, and it is the single most executed operation in machine learning.
Formulas
- projection
Where it shows up in computing
Diffuse lighting is , the dot product of the unit normal and the light direction.
Predicted affinity between a user and an item is the dot product of their embedding vectors.
Where it shows up in AI
Each neuron computes before its activation.
Where is it used?
Computing topics reachable from here, through the chain of ideas that leads to them:
3D Computer graphics
- Lighting and shading★★★★★
- Lighting and shading→Ray tracing★★★★★
- Lighting and shading→Ray tracing→Signed distance fields and ray marching★★★★★
- Lighting and shading→Ray tracing→The rendering equation★★★★★
- Matrices and linear maps→Jacobian matrix→Multiple integrals and change of variables→Green's theorem→Mesh processing (discrete differential geometry)★★★★★
⚙ Robotics and control
- Matrices and linear maps→Jacobian matrix→Robot Jacobian (velocity kinematics)★★★★★
- Matrices and linear maps→Jacobian matrix→Inverse kinematics★★★★★
- Matrices and linear maps→Systems of ODEs→Dynamical systems→Control theory★★★★★
- Matrices and linear maps→Systems of ODEs→Dynamical systems→Control theory→Trajectory optimization and MPC★★★★★
- Matrices and linear maps→Kalman filter★★★★★
- Matrices and linear maps→Systems of ODEs→Robot dynamics★★★★★
⚛ Physics and simulation
- Matrices and linear maps→Systems of ODEs→Population and epidemic models★★★★★
- Matrices and linear maps→Systems of ODEs→N-body gravitational simulation★★★★★
- Matrices and linear maps→Systems of ODEs→Dynamical systems→Weather and climate modelling★★★★★
- Matrices and linear maps→Jacobian matrix→Equilibria and stability→Stiffness and implicit methods→Physics engines★★★★★
- Matrices and linear maps→Jacobian matrix→Multiple integrals and change of variables→Surface integrals and flux→Fluid dynamics and CFD★★★★★
What depends on it
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.