Computes the 2-norm squared of this vector.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public float TwoNormSquared() |
| Visual Basic (Declaration) |
|---|
Public Function TwoNormSquared As Single |
| Visual C++ |
|---|
public: float TwoNormSquared() |
Return Value
The 2-norm of this vector which is the dot product with itself.
Remarks
Often used in place of the 2-norm for efficiency reasons.