MultiplyVector
| Declaration: |
TMatrix.MultiplyVector (VecB, VecRes: TMatrix): boolean; |
|
The function MultiplyVector calculates the product of matrix self with the vector VecB and stores the results in vector VecRes. The function returns the value TRUE, if the multiplication has been carried out successfully.
|
| Hint: |
The multiplication of a matrix with a vector is only possible if the number of columns of the matrix (self) equals the number of elements of the vector (VecB). The resulting vector VecRes is automatically resized to the appropriate dimensions. The following figure illustrates this:
 |
|