Description Usage Arguments Value Examples
Compute the projection of a vector onto the l1 ball.
1 | projgroup(x = x, r = r, g = g)
|
x |
A vector of numerics |
r |
The radius (>0) of the l1 ball |
g |
A vector of groups |
The projection of v onto the l1 ball of radius a.
1 | projgroup(x=1:10, r=3, g=1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.