vvsincos(_:_:_:_:)
Calculates the cosine and sine of each element in an array of double-precision values.
Declaration
func vvsincos(_: UnsafeMutablePointer<Double>, _: UnsafeMutablePointer<Double>, _: UnsafePointer<Double>, _: UnsafePointer<Int32>)Discussion
Parameters:
- parameter 1
The sines output array, z.
- parameter 2
The cosines output array, y.
- parameter 3
The input array, x.
- parameter 4
The number of elements in the arrays.
The following code shows an example of using vvsincos(_:_:_:_:).