Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double SumOfSquares(); | Calculate the Sum of squares of the calling vector. |
| 2 | double SumOfSquares(int Index, int Len); | Calculates the sum of squares from the calling vector elements [Index]..[Index+Len-1]. |
Overload 1: double SumOfSquares();
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: TMtx::NormL2
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler
Overload 2: double SumOfSquares(int Index, int Len);
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::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler