PANDORE Version 6 GREYC-IMAGE

parrayargmax



Calculates the maximum values between arrays.



Synopsis

parrayargmax name_in name_out [col_in|-] [col_out|-]

Description

parrayargmax builds the array name_out in the output collection col_out with the indexes of the array that contains the maximum values between item at the same index. The input collection is supposed to contain arrays name_in.1 ... name_in.n with the same size. The result is a new array name_out where each item name_out[i] is set with the number of the array that contains the maximum value between each array name_in.1 ... name_in.n at the same index i.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples




See also

Array

C++ prototype

Errc PArrayArgMax( const Collection &col_in, Collection &col_out, const std::string &name_in, const std::string &name_out );

Version française

Extraction des valeurs maxima entre plusieurs tableaux.


Author: Alexandre Duret-Lutz