Learn R Programming

pgam (version 0.4.17)

lpnorm: Utility function

Description

Compute the Lp-norm of two sequencies.

Usage

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

Value

The computed norm value.

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

Author

Washington Leite Junger wjunger@ims.uerj.br

See Also

pgam