Description Usage Arguments Value Examples
View source: R/projgrouporth.R
Compute the projection of a vector onto the intersection of the group l1-l2 ball, the l2 ball and the space orthogonal to M.
1 2 | projgrouporth(x = x, r = 1, g = g, M = M, itermax = 5000,
eps = 1e-16)
|
x |
A vector of numerics |
r |
The radius (>0) of the l1 ball |
g |
Vector of groups. |
M |
A matrix of vectors |
itermax |
The maximum number of iterations |
eps |
Precision |
The projection of x onto B_1(a) \cap B_2 \cap M^\perp.
1 | projgrouporth(x=1:10, r=10, g = 1:10, M=projl2(rnorm(10)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.