The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TMatrix, TIntMatrix
Declaration: [1]function EMult (MatB, MatRes: TMatrix): boolean; { class TMatrix }
[2]function EMult (MatB, MatRes: TIntMatrix): boolean; { class TIntMatrix }

The function EMult performs an elementwise multiplication of the matrix self with MatB. The results are stored in matrix MatRes. The function returns the value TRUE, if the multiplication has been carried out successfully.

Hint: The elementwise multiplication of two matrices is only possible if the number of columns and rows of both the matrix (self ) and the matrix (MatB) are equal. The resulting matrix MatRes is automatically resized to the appropriate dimensions.

Last Update: 2015-May-13