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 (none), 14 years ago

Added original make3d

File size: 299 bytes
Line 
1function 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
7nlmi = size(X.clauses,2);
8
9if (nlmi == 0)
10 sys = NaN;
11end
12
13if nlmi>1
14 error('Double not applicable on list of constraints')
15end
16
17sys = double(X.clauses{1}.data);
Note: See TracBrowser for help on using the repository browser.