VectorMultiply

Declaration: VectorMultiply (InVec1, InVec2: TDoubleArray; var Product: TDouble2DArray): integer;
The function VectorMultiply calculates the product of the two vectors InVec1 and Invec2 (seeing them as column and row vectors) and returns the result in the two-dimensional matrix Product. The resulting matrix is automatically resized to have the dimensions p x q, with p being the length of InVec1 and q the length of InVec2.

The function always returns a zereo value (no error conditions).