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

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

Added original make3d

File size: 313 bytes
Line 
1function F = and(X,Y)
2% Internal class for constraint list
3
4% Author Johan Löfberg
5% $Id: and.m,v 1.2 2004/07/19 13:54:35 johanl Exp $
6
7if isa(X,'sdpvar')
8    X = true(X);
9end
10if isa(Y,'sdpvar')
11    Y = true(Y);
12end
13if isa(X,'constraint')
14    X = set(X);
15end
16if isa(Y,'constraint')
17    Y = set(Y);
18end
19
20F = X & Y;
Note: See TracBrowser for help on using the repository browser.