source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@lmi/constraintclass.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 348 bytes |
Line | |
---|---|
1 | function LIST = constraintlcass(F,property) |
2 | %CONSTRAINTCLASS Returns a list describing the constraints |
3 | |
4 | % Author Johan Löfberg |
5 | % $Id: constraintclass.m,v 1.2 2005/02/04 10:10:26 johanl Exp $ |
6 | |
7 | if isempty(F.clauses) |
8 | LIST = []; |
9 | else |
10 | LIST = []; |
11 | for i = 1:length(F.clauses) |
12 | LIST = [LIST;F.clauses{i}.type]; |
13 | end |
14 | end |
15 |
Note: See TracBrowser
for help on using the repository browser.