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

Library: math
See also: cinv cmatdiv

Quantlet: cmatmul
Description: Computes the complex matrix multiplication of X and Y

Usage: z = cmatmul (x, y)
Input:
x complex matrix X
y complexr matrix Y
Output:
z complex matrix

Example:
library("math")
x = complex(#(-2, 0)~#(-1, -2), #(-1, 0)~#(-3, -1))
y = complex(#(-2, -1)~#(-1, 0), #(-1, 0)~#(0, 0))
cmatmul(x, y)

Result:
Contents of z.re
[1,]        4        2
[2,]        2        0
Contents of z.im
[1,]        7        1
[2,]        1        0



Author: S. Klinke, 19970529
(C) MD*TECH Method and Data Technologies, 05.02.2006