Skip to main content
Log in

Mojo module

complex

Implements the Complex type.

You can import these APIs from the complex package. For example:

from complex import ComplexSIMD
from complex import ComplexSIMD

Aliases

  • ComplexFloat32 = ComplexSIMD[float32, 1]:
  • ComplexFloat64 = ComplexSIMD[float64, 1]:

Structs

Functions

  • abs: Performs elementwise abs (norm) on each element of the complex value.

Was this page helpful?