Multiply complex float vector by complex floax matrix

Hello,

In NPP I looked for a routine that can multiply a complex float vector by a complex float matrix.
But did not find one.

Can you please help ?

Thank you,
Zvika

There isn’t one in NPP. You can use CUBLAS for this. The Cgemv function can multiply a complex float matrix by a complex float vector.

https://docs.nvidia.com/cuda/cublas/index.html#cublas-lt-t-gt-gemv

Hi Robert,

Thank you very much !

I also need a sample by sample (.* in matlab) for the following scenarios:

  1. multiply a complex float vector by all rows of a 2D complex float matrix.
  2. multiply a real vector by all columns of a 2D complex float matrix.

Can you please help ?

Best regards,
Zvika