source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/false.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 366 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function x = false(x) |
2 | % FALSE Constrains a variable to be negative | |
3 | % | |
4 | % FALSE(x) returns the constraint set(x<=0). | |
5 | % | |
6 | % Example | |
7 | % | |
8 | % SET(FALSE(a)) constrains binary variable a to be 0 (i.e. false) | |
9 | % SET(FALSE(a|b)) constrains binary variables a and b to be 0 (i.e. false) | |
10 | % | |
11 | % See also SDPVAR/TRUE, SDPVAR/AND, SDPVAR/OR, SDPVAR/NOT, BINVAR, BINARY | |
12 | ||
13 | x = set(x<=0); |
Note: See TracBrowser
for help on using the repository browser.