DataLab
is a compact statistics package aiming at exploratory data analysis. Please visit the
DataLab Web site
for more information....
Home
Programming DataLab
DLabPascal
1-Dimensional Arrays
TVector
Methods
DotProduct
See also:
Correlate
,
SMult
Index
Statistical Background
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').