Nothing
#####
## DO NOT EDIT THIS FILE!! EDIT THE SOURCE INSTEAD: rsrc_tree/reductions/dgp2dcp/canonicalizers/norm_inf_canon.R
#####
## CVXPY SOURCE: reductions/dgp2dcp/canonicalizers/norm_inf_canon.py
## DGP canonicalizer for NormInf: ||x||_inf -> max(x)
## Since args are positive, ||x||_inf = max(x_i).
## Delegates to max_canon directly.
.dgp_norm_inf_canon <- function(expr, args) {
## Create a MaxEntries expression and delegate to its canonicalizer
tmp <- max_entries(args[[1L]], axis = expr@axis, keepdims = expr@keepdims)
max_canon(tmp, tmp@args)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.