source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@ncvar/uplus.m
Last change on this file was 37, checked in by , 14 years ago | |
---|---|
File size: 340 bytes |
Line | |
---|---|
1 | function Z = uplus(Y) |
2 | %UPLUS (overloaded) |
3 | |
4 | % Author Johan Löfberg |
5 | % $Id: uplus.m,v 1.1 2006/08/10 18:00:23 joloef Exp $ |
6 | |
7 | if isa(Y,'blkvar') |
8 | Y = sdpvar(Y); |
9 | end |
10 | |
11 | switch Y.typeflag |
12 | case {0,5} |
13 | Z = Y; |
14 | case {1,3,4} |
15 | error('Relational objects canot be manipulated') |
16 | otherwise |
17 | error('Please report internal bug in sdpvar/uplus') |
18 | end |
19 |
Note: See TracBrowser
for help on using the repository browser.