projection_nb {sharpPen} | R Documentation |
Projection operator for norm balls.
Description
Compute the projection operator for norm balls. For example, we construct
,
where can be
-norm,
-norm, and
-norm.
Usage
projection_nb(
lambda,radius,family=c("norm2","norm1","norminf"),
input)
Arguments
lambda |
parameter |
radius |
parameter |
family |
select the norm ball type, can be |
input |
input x in the above equation |
Details
Take as input,
and
as parameters.
Calculate
for a given norm ball type.
Value
projection |
|
Author(s)
D.Wang and W.J.Braun
Examples
set.seed(1234567)
family <- "norm1"
temp_p1<-rep(10,100)
projection_nb(3,1,family=family,temp_p1)
[Package sharpPen version 1.9 Index]