cvxr_norm: Compute a norm of an expression

View source: R/093_atoms_norm.R

cvxr_normR Documentation

Compute a norm of an expression

Description

Compute a norm of an expression

Usage

cvxr_norm(x, p = 2, axis = NULL, keepdims = FALSE, max_denom = 1024L)

Arguments

x

An Expression

p

Norm type: 1, 2, Inf, or "fro" (Frobenius)

axis

NULL (all), 0 (columns), or 1 (rows)

keepdims

Logical

max_denom

Integer max denominator

Value

A norm atom


CVXR documentation built on March 6, 2026, 9:10 a.m.