Skip to content

Commit

Permalink
Adding vec() function
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenbeckr committed Sep 20, 2017
1 parent ffa256a commit a8513ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion solvers/solver_RPCA_constrained.m
Expand Up @@ -124,6 +124,8 @@
end
normAY = norm(AY(:));

vec = @(X) X(:);

% Some problem sizes. Feel free to tweak. Mainly affect the defaults
SMALL = ( n1*n2 <= 50^2 );
MEDIUM = ( n1*n2 <= 200^2 ) && ~SMALL;
Expand Down Expand Up @@ -831,4 +833,4 @@
x = spdiags(s,0,m,m)*x;
end

end
end

0 comments on commit a8513ca

Please sign in to comment.