source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@constraint/double.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 231 bytes
Line 
1function x = double(x);
2%DOUBLE (Overloaded)
3
4% Author Johan Löfberg
5% $Id: double.m,v 1.1 2005/04/29 16:28:03 joloef Exp $
6
7x = double(x.Evaluated{1});
8
9if issymmetric(x)
10    x = min(eig(x)) >= 0;
11else
12    x = min(x(:)) >= 0;
13end
Note: See TracBrowser for help on using the repository browser.