source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/SetupEvaluationVariable.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 239 bytes |
Line | |
---|---|
1 | function F = SetupEvaluationVariable(varargin) |
2 | |
3 | z = varargin{end}; |
4 | X = varargin{3}; |
5 | if isequal(getbase(X),[0 1]) |
6 | F = set([]); |
7 | else |
8 | dX = double(X); |
9 | if ~all(isnan(dX)) |
10 | assign(z,double(X)); |
11 | end |
12 | F = set(X == z); |
13 | end |
Note: See TracBrowser
for help on using the repository browser.