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.