lpnorm {pgam}R Documentation

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.

Author(s)

Washington Leite Junger wjunger@ims.uerj.br

See Also

pgam


[Package pgam version 0.4.17 Index]