Mojo function
atan2
atan2[dtype: DType, width: Int, //](y: SIMD[dtype, width], x: SIMD[dtype, width]) -> SIMD[dtype, width]
Computes the atan2
of the inputs.
Constraints:
The input must be a floating-point type.
Parameters:
- dtype (
DType
): Thedtype
of the input and output SIMD vector. - width (
Int
): The width of the input and output SIMD vector.
Args:
- y (
SIMD[dtype, width]
): The first input argument. - x (
SIMD[dtype, width]
): The second input argument.
Returns:
The atan2
of the inputs.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!