Vector Multiplication
Contents
Dot Product
The dot product of two vectors gives a single scalar value.
Generally, given two vectors (a and b) with n dimensions, the dot product is computed as:
Concretely, if a and b have three dimensions (labeled x, y, and z), the dot product can be computed as:
julia> using LinearAlgebra julia> # type '\cdot' and tab-complete into '⋅' julia> [2,3,4] ⋅ [5,6,7] 56