µ Power Mean r←(nµ)y
n is a numeric scalar. r is the nth power mean of the cells of y:
- if
nis¯∞,ris the minimum ofy:r←⌊/y - if
nis∞,ris the maximum ofy:r←⌈/y - if
nis0,ris the geometric mean ofy:r←⦅≢√×/⦆y - otherwise,
ris thenth root of the arithmetic mean of thenth power ofy:r←n√+/«÷»≢n↗y