Nothing
#####
## DO NOT EDIT THIS FILE!! EDIT THE SOURCE INSTEAD: rsrc_tree/reductions/dgp2dcp/canonicalizers/trace_canon.R
#####
## CVXPY SOURCE: reductions/dgp2dcp/canonicalizers/trace_canon.py
## DGP canonicalizer for Trace: trace(X) -> add_canon(explicit_sum(diag(X)))
.dgp_trace_canon <- function(expr, args) {
diag_sum <- .dgp_explicit_sum(DiagMat(args[[1L]]))
.dgp_add_canon(diag_sum, diag_sum@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.