p-2-norm
▸ function p2Norm
(p
: number[]): number
Defined in norm/double/p-2-norm.ts:10
Returns the p-2 norm
, i.e. Euclidean norm
of the given array of numbers
(with intermediate calculations done in double precision).
Parameters:
Name | Type | Description |
---|---|---|
p | number[] | an array of numbers; can represent an array of polynomial coefficients |
Returns: number