source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/le.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 263 bytes |
Line | |
---|---|
1 | function y = lt(X,Y) |
2 | %LE (overloaded) |
3 | |
4 | % Author Johan Löfberg |
5 | % $Id: le.m,v 1.3 2005/06/17 13:02:01 joloef Exp $ |
6 | |
7 | if isa(X,'blkvar') |
8 | X = sdpvar(X); |
9 | end |
10 | |
11 | if isa(Y,'blkvar') |
12 | Y = sdpvar(Y); |
13 | end |
14 | |
15 | try |
16 | y = constraint(X,'<=',Y); |
17 | catch |
18 | error(lasterr) |
19 | end |
Note: See TracBrowser
for help on using the repository browser.