Function

vDSP_vtmerg(_:_:_:_:_:_:_:)

Performs a tapered merge between two single-precision vectors.

Declaration

func vDSP_vtmerg(_ __A: UnsafePointer<Float>, _ __IA: vDSP_Stride, _ __B: UnsafePointer<Float>, _ __IB: vDSP_Stride, _ __C: UnsafeMutablePointer<Float>, _ __IC: vDSP_Stride, _ __N: vDSP_Length)

Parameters

__A

Single-precision real input vector.

__IA

Stride for A.

__B

Single-precision real input vector.

__IB

Stride for B.

__C

Single-precision real output vector.

__IC

Stride for C.

__N

The number of elements to process.

Discussion

Performs a tapered merge of the first N elements of A and C into corresponding elements of C. Values written to C range from element zero of A to element N-1 of B. Output values between these endpoints reflect varying amounts of their corresponding inputs from vectors A and B, with the percentage of A decreasing and the percentage of B increasing as the index increases.

mathematical formula

See Also

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