Learn R Programming

convexjlr (version 0.8.1)

norm: p-norm of x

Description

p-norm of x.

Usage

norm(x, p = 2)

Arguments

x

input vector.

p

a number greater than 1.