source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@lmi/lowrank.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 544 bytes
Line 
1function F = lowrank(F,x)
2
3identifiers = [];
4for i = 1:size(F.clauses,2)
5    switch F.clauses{i}.type
6        case 1
7            identifiers = [identifiers F.LMIid(i)];
8        otherwise           
9    end
10end
11
12if isempty(identifiers)
13    F = set([]);
14    return
15end
16
17if nargin>1
18    variables = getvariables(x);
19else
20    variables = [];
21end
22
23lrData.id = identifiers;
24lrData.variables = variables;
25
26F.clauses = {{F.clauses{1}}};
27F.clauses{1}.data = lrData;
28F.clauses{1}.type  = 14;
29F.LMIid = -1;
30F.clauses{1}.strict = 0;
31F.clauses{1}.cut = 0;
Note: See TracBrowser for help on using the repository browser.