to use the dot product:
julia> using LinearAlgebra
julia> m = [1 2 3; 4 5 6];
julia> for row in eachrow(m)
println( dot(row, [2, 2, 2]) )
end
12
40
The dot product operator is called dot
and it lives in the LinearAlgebra
standard library.