Click or drag to resize

VectorNormP Method

Calculate the p-Norm.

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

Parameters

p  Int32
 

Return Value

Double
res = Sum(abs(u[i])^p))^(1/p)
See Also