c <- cmatmultc(a, b), a and b REAL matrices representing complex matrices A and B in fully complex form, with nrows(b) = floor((ncols(a) + 1)/2) c <- cmatmultc(a, b, "%c%"), requires nrows(a) = nrows(b) c <- cmatmultc(a, b, "%C%"), requires floor(ncols(a) + 1)/2) = floor(ncols(b) + 1)/2 |
Usage c <- cmatmultc(a, b), computes the matrix product of REAL matrices a and b interpreted as complex matrices A and B in fully complex form (real parts in odd columns, imaginary parts in even). The result c is a REAL matrix interpreted as the complex matrix A %*% B, in fully complex form. c <- matmultc(a, b, "%*%") does the same. It is required that nrows(b) = floor((ncols(a) + 1)/2). c <- cmatmultc(a, b, "%c%") does the same except the matrix product is A %c% B = A' %*% B and nrows(a) = nrows(b) is required. c <- cmatmultc(a, b, "%C%") does the same except the matrix product is A %C% A = A %*% B' and floor((ncols(a)+1)/2) = floor((ncols(b)+1)/2) is required. Cross references See also 'matrices', 'complex'.