Function

vDSP_vrvrs(_:_:_:)

Reverses a vector of single-precision values in place.

Declaration

func vDSP_vrvrs(_ __C: UnsafeMutablePointer<Float>, _ __IC: vDSP_Stride, _ __N: vDSP_Length)

Parameters

__C

Single-precision real input-output vector.

__IC

Address stride for C.

__N

The number of elements to process.

Discussion

Performs the following operation:

mathematical formula

Reverses the order of vector C in place.

See Also

Single-Vector Reversing Functions

static func reverse<V>(inout V)

Reverses a vector of double-precision values in place.

static func reverse<V>(inout V)

Reverses a vector of single-precision values in place.

func vDSP_vrvrsD(UnsafeMutablePointer<Double>, vDSP_Stride, vDSP_Length)

Reverses a vector of double-precision values in place.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software