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
-
ComplexSIMD
: Represents a complex SIMD value.
Functions
-
abs
: Performs elementwise abs (norm) on each element of the complex value.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
😔 What went wrong?