Contents

vDSP_vintbD

Calculates the linear interpolation between the supplied double-precision vectors using the specified stride.

Declaration

extern void vDSP_vintbD(const double *__A, vDSP_Stride __IA, const double *__B, vDSP_Stride __IB, const double *__C, double *__D, vDSP_Stride __ID, vDSP_Length __N);

Discussion

This function is the same as vDSP_vintb, except for the types of vectors A, B, C, and D.

This example interpolates from a (all zeros) toward b [10, 20, 30, 40] using the interpolation constant 0.25, computing a + 0.25 · (b − a) elementwise. The result is one quarter of the way from a to b: [2.5, 5, 7.5, 10].

The following code shows an example of using this function:

See Also

Vector-to-Vector Linear Interpolation