Learn R Programming

pgam (version 0.4.12)

lpnorm: Utility function

Description

Compute the Lp-norm of two sequencies.

Usage

lpnorm(seq1, seq2 = 0, p = 0)

Arguments

seq1

first sequency

seq2

second sequency

p

L-space of the norm. 0 is infinity norm or max norm, 1 is the absolute value norm, 2 is L2 norm and so on

Value

The computed norm value.

See Also

pgam