Skip to main content
Log in

Mojo function

mul_complex

mul_complex(lhs: Symbol, rhs: Symbol) -> Symbol

Multiplies two complex-valued symbolic tensors elementwise.

Args:

  • lhs (Symbol): A complex-valued symbolic tensor.
  • rhs (Symbol): A complex-valued symbolic tensor.

Returns:

A new complex-valued symbolic tensor. Each element represents the elementwize complex multiplication of the element at that location in the two input tensors. Type promotion and broadcasting rules are applied as described in elementwise.