Learn R Programming

convexjlr (version 0.8.1)

vecnorm: p-norm of vector representation of x

Description

p-norm of vector representation of x, which is deprecated, use norm(vec(x), p=2) instead.

Usage

vecnorm(x, p = 2)

Arguments

x

input matrix.

p

a number greater than 1.