DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


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').