Contents

vDSP_minvD

Calculates the double-precision minimum value of a vector.

Declaration

extern void vDSP_minvD(const double *__A, vDSP_Stride __IA, double *__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. If N is zero, the function sets C to infinity.

  • __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:

See Also

Calculating the minimum value of a vector