ClassesClassesClassesClasses | | | | Operators

tuple_maxtuple_maxTupleMaxtuple_maxTupleMaxTupleMax (Operator)


tuple_maxtuple_maxTupleMaxtuple_maxTupleMaxTupleMax — Return the maximal element of a tuple.


tuple_max( : : Tuple : Max)

Herror tuple_max(const Hlong Tuple, double* Max)

Herror T_tuple_max(const Htuple Tuple, Htuple* Max)

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

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

void TupleMax(const HTuple& Tuple, HTuple* Max)

HTuple HTuple::TupleMax() const

void HOperatorSetX.TupleMax(
[in] VARIANT Tuple, [out] VARIANT* Max)

VARIANT HTupleX.TupleMax([in] VARIANT Tuple)

static void HOperatorSet.TupleMax(HTuple tuple, out HTuple max)

HTuple HTuple.TupleMax()


tuple_maxtuple_maxTupleMaxtuple_maxTupleMaxTupleMax returns the maximal element of all elements of the input tuple TupleTupleTupleTupleTupletuple. All elements of TupleTupleTupleTupleTupletuple 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 MaxMaxMaxMaxMaxmax will contain a floating point number, if at least one element of TupleTupleTupleTupleTupletuple is a floating point number. If all elements of TupleTupleTupleTupleTupletuple are integer numbers the resulting sum will also be an integer number.



TupleTupleTupleTupleTupletuple (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*) (Hlong / double / BSTR) (Hlong / double / char*)

Input tuple.

MaxMaxMaxMaxMaxmax (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*) (double / Hlong / BSTR) (double / Hlong / char*)

Maximal element of the input tuple elements.


tuple_mintuple_minTupleMintuple_minTupleMinTupleMin, tuple_meantuple_meanTupleMeantuple_meanTupleMeanTupleMean, tuple_deviationtuple_deviationTupleDeviationtuple_deviationTupleDeviationTupleDeviation, tuple_sumtuple_sumTupleSumtuple_sumTupleSumTupleSum, tuple_lengthtuple_lengthTupleLengthtuple_lengthTupleLengthTupleLength, tuple_mediantuple_medianTupleMediantuple_medianTupleMedianTupleMedian

See also

tuple_max2tuple_max2TupleMax2tuple_max2TupleMax2TupleMax2, tuple_min2tuple_min2TupleMin2tuple_min2TupleMin2TupleMin2



ClassesClassesClassesClasses | | | | Operators