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


TransposeAndMultiplyVector

Declaration: TMatrix.TransposeAndMultiplyVector (VecB: TVector; VecRes: TVector): boolean;
The function TransposeAndMultiplyVector calculates the product of the transposed matrix self times the vector VecB. The resulting vector is stored in VecRes.

The function returns a TRUE value, if the multiplication has been carried out successfully.

Hint 1: The matrix self is not transposed and is left unchanged. Only a transposed copy of self is used in the calculation.

Hint 2: This function can only be calculated, if the number of rows of the matrix (self) equals the number of rows of the vector (VecB). The resulting vector VecRes is resized automatically. The following figure illustrates the context: