Contents

vvsin(_:_:_:)

Calculates the sine of each element in an array of double-precision values.

Declaration

func vvsin(_: UnsafeMutablePointer<Double>, _: UnsafePointer<Double>, _: UnsafePointer<Int32>)

Discussion

Parameters:

parameter 1

The output array, y.

parameter 2

The input array, x.

parameter 3

The number of elements in the arrays.

If x is +/-0, the result preserves the signed zero.

If x is +/-inf, the result is NaN.

The following code shows an example of using vvsin(_:_:_:).

See Also

Array-Oriented Trigonometric Functions