TVecByte::Sum Method

Overload List

#SignatureDescription
1int Sum();Sums vector values.
2int Sum(int Index, int Len);Returns the sum of calling object elements [Index]..[Index+Len-1].

Overload 1: int Sum();

Sums vector values.

Returns: the sum of all calling object elements.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler

Overload 2: int Sum(int Index, int Len);

Returns the sum of calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun/underrun.

Declared in Dew::Math::TMtxVecInt · Dew.Math/AbstractMtxVecInt.h · Cross-compiler