הערה
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות להיכנס או לשנות מדריכי כתובות.
הגישה לדף זה מחייבת הרשאה. באפשרותך לנסות לשנות מדריכי כתובות.
Fully qualified name: Std.Math.PNorm
function PNorm(p : Double, array : Double[]) : Double
Summary
Returns the L(p) norm of a vector of Doubles.
That is, given an array x of type Double[], this returns the p-norm
|x̄|ₚ= (∑(xᵢ)ᵖ)¹ᐟᵖ.
Input
p
The exponent p in the p-norm.
Output
The p-norm |x̄|ₚ.