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


TransposeAndMultiplyMatrix

Declaration: TMatrix.TransposeAndMultiplyMatrix (MatB, MatRes: TMatrix): boolean;
The function TransposeAndMultiplyMatrix calculates the product of the transposed matrix self times the matrix MatB. The resulting matrix is stored in MatRes.

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 first matrix (self ) equals the number of rows of the second matrix (MatB). The resulting matrix MatRes are resized automatically. The following figure illustrates the context: