Overload List
| # | Signature | Description |
|---|---|---|
| 1 | int Sum() const; | Sums vector values. |
| 2 | int Sum(const int Index, const int Len) const; | Returns the sum of calling object elements [Index]..[Index+Len-1]. |
Overload 1: int Sum() const;
Sums vector values.
Returns: the sum of all calling object elements.
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler
Overload 2: int Sum(const int Index, const int Len) const;
Returns the sum of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | const int | |
| 2 | Len | const int |
Remarks:
An exception is raised if array borders are overrun/underrun.
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler