powered by
ddg computes the Hessian of the majorization of the proximity function.
ddg
ddg(x, v, w, hgrad)
non-anchor point
weights for first set of constraints
weights for second set of constraints
Handle for output mapping Jacobian
# NOT RUN { set.seed(12345) n <- 10 p <- 2 x <- matrix(rnorm(p),p,1) v <- 1 w <- 1 A <- matrix(rnorm(n*p),n,p) hgrad <- function(x) {return(t(A))} sol <- ddg(x,v,w,hgrad) # }
Run the code above in your browser using DataLab