complex_tensor32

Macro complex_tensor32 

Source
complex_tensor32!() { /* proc-macro */ }
Expand description

Creates a 32-bit complex tensor from nested brackets. Complex numbers can be created using j. (e.g. 4j, my_function()j, or some_variable * j)

§Arguments

  • input - The user’s desired tensor written in simplified language.

§Returns

  • A 32-bit complex tensor implementing the user’s data.

§Panics

  • If there is a missing closing bracket.
  • If the tensor does not start with an opening bracket or is not a scalar.
  • If a literal with suffix or prefix j is not a valid number.