Learn R Programming

dual.spls (version 0.1.4)

d.spls.norm1: Computing the l1 and l2 norm

Description

The internal functions norm1 and norm2 computes the l1 and l2 norm of any vector

Usage

d.spls.norm1(x)

d.spls.norm2(x)

Value

A positive integer of the norm value.

Arguments

x

a numeric vector.

Author

Louna Alsouki François Wahl