sincospi(_:)
Returns the sine and cosine of each element in a vector multiplied by pi.
Declaration
func sincospi(_ x: simd_float3) -> (sin: simd_float3, cos: simd_float3)Parameters
- x:
The source vector.
Return Value
A two-element tuple. The first element contains the sines, and the second element contains the cosines.