Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double SumOfSquares() const; | Calculate the Sum of squares of the calling vector. |
| 2 | double SumOfSquares(int Index, int Len) const; | Calculates the sum of squares from the calling vector elements [Index]..[Index+Len-1]. |
Overload 1: double SumOfSquares() const;
Calculate the Sum of squares of the calling vector.
Remarks:
For complex numbers, the routine computes the squared L2 norm.
SumOfSquares = sum | a[i] |^2, 0 < i < Length-1
See Also: Vector::NormL2
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler
Overload 2: double SumOfSquares(int Index, int Len) const;
Calculates the sum of squares from the calling vector elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler