General p-norm of an expression
p_norm(
x,
p = 2,
axis = NULL,
keepdims = FALSE,
max_denom = 1024L,
approx = TRUE
)A Pnorm, PnormApprox, Norm1, or NormInf atom
An Expression
Numeric exponent (default 2)
NULL (all), 1 (row-wise), or 2 (column-wise)
Logical
Integer max denominator for rational approx
If TRUE (default), use SOC approximation. If FALSE, use exact power cone.