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


EMult

Declaration: TMatrix.EMult (MatB, MatRes: TMatrix): boolean;
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.