vDSP_minv
Calculates the single-precision minimum value of a vector.
Declaration
extern void vDSP_minv(const float *__A, vDSP_Stride __IA, float *__C, vDSP_Length __N);Parameters
- __A:
The input vector,
A. - __IA:
The distance between the elements in the input vector.
- __C:
The output scalar value,
C. IfNis zero, the function setsCtoinfinity. - __N:
The number of elements that the function processes.
Discussion
This function calculates the minimum value of the first N elements of input vector A, and writes the result to output scalar C.
[Image]
The following code shows an example of using this function: