View source: R/090_atoms_pnorm.R
| p_norm | R Documentation |
General p-norm of an expression
p_norm(
x,
p = 2,
axis = NULL,
keepdims = FALSE,
max_denom = 1024L,
approx = TRUE
)
x |
An Expression |
p |
Numeric exponent (default 2) |
axis |
NULL (all), 1 (row-wise), or 2 (column-wise) |
keepdims |
Logical |
max_denom |
Integer max denominator for rational approx |
approx |
If TRUE (default), use SOC approximation. If FALSE, use exact power cone. |
A Pnorm, PnormApprox, Norm1, or NormInf atom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.