Click or drag to resize

VectorNorm Method

Calculate the norm of the vector (The 2-norm of the vector).

Namespace: DotNumerics.LinearAlgebra
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public double Norm()
Request Example View Source

Return Value

Double
The norm
Remarks
The 2-norm of a vector is the square root of the sum of squares of the vector coefficients. res = sum(u[i]^2)
See Also