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