Answer
You can implement as a subroutine that takes three arrays of the same
length as arguments. It could then take the dot product of the first two
arrays, and store the answer in the third array. In essence, the first two
arrays are being used to communicate information into the subroutine, and
the last array is being used to communicate information out of the
subroutine.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu