Herror ::tuple_max (
    const HTuple &Tuple,
    double *Max
)
Herror ::tuple_max (
    const HTuple &Tuple,
    HTuple *Max
)

Returns the maximal element of a tuple.

::tuple_max returns the maximal element of all elements of the input tuple Tuple. All elements of Tuple either have to be strings or numbers (integer or floating point numbers). It is not allowed to mix strings with numerical values. The result parameter Max will contain a floating point number, if at least one element of Tuple is a floating point number. If all elements of Tuple are integer numbers the resulting sum will also be an integer number.


Parameters

Tuple (input_control)
number(-array) -> HTuple.long / double / char *
Input tuple.

Max (output_control)
number(-array) -> (HTuple.) double *
Maximal element of the input tuple elements.


Alternatives

::tuple_min, ::tuple_mean, ::tuple_deviation, ::tuple_sum, ::tuple_length


Module

Operators not requiring licensing



Copyright © 1996-2002 MVTec Software GmbH