Multiply
| Declaration: |
TMatrix.Multiply (MatB, MatRes: TMatrix): boolean; |
|
The function Multiply calculates the product of matrix self with the matrix MatB and stores the results in matrix 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 (MatB). The resulting matrix MatRes is automatically resized to the appropriate dimensions. The following figure illustrates this:
 |
|