Performs a tapered merge between two single-precision vectors.


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



Single-precision real input vector.


Stride for A.


Single-precision real input vector.


Stride for B.


Single-precision real output vector.


Stride for C.


The number of elements to process.


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