DotProduct

Declaration: TVector.DotProduct (OtherVec: TVector): double;
The function DotProduct calculates and returns the dot product (inner product) of the two vectors self and OtherVec. If the dimensions of the two vectors do not match, an exception is generated ('vectors have different dimensions').