Calculates single-precision vector quadratic interpolation.
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
Single-precision real input vector with a stride of 1.
Single-precision real input vector. Integer parts are indices into
Aand fractional parts are interpolation constants
Single-precision real output vector.
A. Must be greater than or equal to 3.
C by interpolating between neighboring values of
A as controlled by values in
B. The integer portion of each element in
B is the zero-based index of the second element of a triple of adjacent values in vector
The value of the corresponding element of
C is derived from these three values by quadratic interpolation, using the fractional part of the value in
B. The calculation is equivalent to the following pseudocode:
M is not used in the calculation. However, the integer parts of the values in
B must be less than or equal to
M - 2.