source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@lmi/double.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 299 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function sys = double(X) |
2 | %double Overloaded. | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: double.m,v 1.3 2005/02/12 13:24:38 johanl Exp $ | |
6 | ||
7 | nlmi = size(X.clauses,2); | |
8 | ||
9 | if (nlmi == 0) | |
10 | sys = NaN; | |
11 | end | |
12 | ||
13 | if nlmi>1 | |
14 | error('Double not applicable on list of constraints') | |
15 | end | |
16 | ||
17 | sys = double(X.clauses{1}.data); |
Note: See TracBrowser
for help on using the repository browser.