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