Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Operators
See also: + * / - ^ %

Function: .*
Description: .* is a operator for elementwise multiplication of arrays.

Usage: z = y .* x
Input:
x n1 x n2 x ... x np array
y m1 x m2 x ... x mp array
Output:
z max(n1,m1) x max(n2,m2) x ... x max(np,mp) array

Note:

Example:
#(3,4) .* #(1,2)

Result:
Contents of _tmp

[1,]     3
[2,]     8



(C) MD*TECH Method and Data Technologies, 05.02.2006