Vector Extrema Calculation

Calculate the minimum and maximum values in a vector.

Topics

Maximum Calculation

vDSP_maxv

Calculates the maximum value in a single-precision vector.

vDSP_maxvD

Calculates the maximum value in a double-precision vector.

vDSP_maxvi

Calculates the maximum value and corresponding index in a single-precision vector.

vDSP_maxviD

Calculates the maximum value and corresponding index in a double-precision vector.

vDSP_maxmgv

Calculates the maximum magnitude in a single-precision vector.

vDSP_maxmgvD

Calculates the maximum magnitude in a double-precision vector.

vDSP_maxmgvi

Calculates the maximum magnitude and corresponding index in a single-precision vector.

vDSP_maxmgviD

Calculates the maximum magnitude and corresponding index in a double-precision vector.

Minimum Calculation

vDSP_minv

Calculates the minimum value in a single-precision vector.

vDSP_minvD

Calculates the minimum value in a double-precision vector.

vDSP_minvi

Calculates the minimum value and corresponding index in a single-precision vector.

vDSP_minviD

Calculates the minimum value and corresponding index in a double-precision vector.

vDSP_minmgv

Calculates the minimum magnitude in a single-precision vector.

vDSP_minmgvD

Calculates the minimum magnitude in a double-precision vector.

vDSP_minmgvi

Calculates the minimum magnitude and corresponding index in a single-precision vector.

vDSP_minmgviD

Calculates the minimum magnitude and corresponding index in a double-precision vector.

See Also

Vector Reduction

Vector Average Calculation

Calculate the average value in a vector.

Vector Summation

Sum the values in a vector.