vDSP_vtmergD
Performs a tapered merge between two double-precision vectors.
Declaration
extern void vDSP_vtmergD(const double *__A, vDSP_Stride __IA, const double *__B, vDSP_Stride __IB, double *__C, vDSP_Stride __IC, vDSP_Length __N);Parameters
- __A:
The first input vector.
- __IA:
The distance between the elements in the first input vector.``
- __B:
The second input vector.
- __IB:
The distance between the elements in the second input vector.
- __C:
The output vector.
- __IC:
The distance between the elements in the output vector.
- __N:
The number of complex elements in the output vector.
Discussion
The following code performs a tapered merge between two vectors that represent sine waves at different frequencies:
The following image shows the result of the tapered merge in tapered:
[Image]