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


MultiplyTransposed

Declaration: TMatrix.MultiplyTransposed (MatB, MatRes: TMatrix): boolean;
The function MultiplyTransposed calculates the product of matrix self with the matrix MatB after transposing it. The results are stored in MatRes. The function returns the value TRUE, if the multiplication has been carried out successfully.

Hint: The multiplication of two matrices is only possible if the number of columns of the first matrix (self ) equals the number of rows of the second matrix (MatBT). The resulting matrix MatRes is automatically resized to the appropriate dimensions. The following figure illustrates the context:

Example: The statement MatA.MultiplyTransposed (MatB, MatR) multiplies the matrix MatA with the transpose of MatB and stores the result in MatR.