1

Related question Multiplying real matrix with a complex vector using BLAS

Suppose I aim at C = A*B, where A, B, C are real, complex, and complex matrices, respectively. A[i,j] * B[j,k] := (A[i,j] Re(B[j,k])), (A[i,j] Im(B[j,k])). Is there any available subroutine in BLAS?

I can think about split B into two real matrices for the real and imaginary part, do dgemm then combine, (combine should be faster than matrix multiplication, even directly using nested loops(?)) as suggested by Multiplying real matrix with a complex vector using BLAS

I don't know if there is a direct option in BLAS.

AlphaF20
  • 583
  • 6
  • 14

1 Answers1

1

No, there is no routine in standard BLAS that multiplies real and complex matrices together to produce a complex result.

Ian Bush
  • 6,996
  • 1
  • 21
  • 27