afp_imax_all

Find the maximum values and their locations from the entire array.

Arguments

  1. Input array, values

Output

Resulting vector, position 0: max value, position 1: location of max value

Examples

afp_imax_all