ClassesClassesClassesClasses | | | | Operators

tuple_sumtuple_sumTupleSumtuple_sumTupleSumTupleSum (Operator)


tuple_sumtuple_sumTupleSumtuple_sumTupleSumTupleSum — Return the sum of all elements of a tuple.


tuple_sum( : : Tuple : Sum)

Herror tuple_sum(const Hlong Tuple, double* Sum)

Herror T_tuple_sum(const Htuple Tuple, Htuple* Sum)

Herror tuple_sum(const HTuple& Tuple, double* Sum)

Herror tuple_sum(const HTuple& Tuple, HTuple* Sum)

void TupleSum(const HTuple& Tuple, HTuple* Sum)

HTuple HTuple::TupleSum() const

void HOperatorSetX.TupleSum(
[in] VARIANT Tuple, [out] VARIANT* Sum)

VARIANT HTupleX.TupleSum([in] VARIANT Tuple)

static void HOperatorSet.TupleSum(HTuple tuple, out HTuple sum)

HTuple HTuple.TupleSum()


tuple_sumtuple_sumTupleSumtuple_sumTupleSumTupleSum returns the sum 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 SumSumSumSumSumsum 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. If TupleTupleTupleTupleTupletuple contains strings, the concatenation will be used for building the sum.



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.

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

Sum of tuple elements.


tuple_meantuple_meanTupleMeantuple_meanTupleMeanTupleMean, tuple_deviationtuple_deviationTupleDeviationtuple_deviationTupleDeviationTupleDeviation, tuple_mintuple_minTupleMintuple_minTupleMinTupleMin, tuple_maxtuple_maxTupleMaxtuple_maxTupleMaxTupleMax, tuple_lengthtuple_lengthTupleLengthtuple_lengthTupleLengthTupleLength, tuple_mediantuple_medianTupleMediantuple_medianTupleMedianTupleMedian

See also




ClassesClassesClassesClasses | | | | Operators