You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > SumOfSquares Method > Matrix.SumOfSquares Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.SumOfSquares Method ()

Calculate the Sum of squares of the calling Matrix.

Syntax
C#
Visual Basic
public double SumOfSquares();

For complex numbers, the routine computes the squared L2 norm. 

 

SumOfSquares = Sum(|a[i]|^2) , 0 < i < Length-1
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!