source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@constraint/getlist.m
Last change on this file was 37, checked in by , 14 years ago | |
---|---|
File size: 327 bytes |
Line | |
---|---|
1 | function [F,strict] = getlist(X) |
2 | % Internal class for constraint lists |
3 | |
4 | % Author Johan Löfberg |
5 | % $Id: getlist.m,v 1.2 2005/05/01 11:52:01 joloef Exp $ |
6 | |
7 | superiorto('sdpvar'); |
8 | superiorto('double'); |
9 | |
10 | F = X.Evaluated; |
11 | strict = X.strict; |
12 | |
13 | % FIX : treat equalities better |
14 | if isequal(X.List{2},'==') |
15 | F{1}=sethackflag(F{1},3); |
16 | end |
Note: See TracBrowser
for help on using the repository browser.