Skip to main content
Log in

Mojo function

abs

abs(x: ComplexSIMD[type, size]) -> SIMD[type, size]

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

Args:

  • x (ComplexSIMD[type, size]): The complex vector to perform absolute value on.

Returns:

The elementwise abs of x.