torchkbnufft.complex_mult

complex_mult(val1, val2, dim=- 1)[source]

Complex multiplication.

Parameters
  • val1 (Tensor) – A tensor to be multiplied.

  • val2 (Tensor) – A second tensor to be multiplied.

  • dim (int) – An integer indicating the complex dimension (for real inputs only).

Return type

Tensor

Returns

val1 * val2, where * executes complex multiplication.