source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/@sdpvar/uplus.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 340 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function Z = uplus(Y) |
2 | %UPLUS (overloaded) | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: uplus.m,v 1.3 2005/06/17 13:02:01 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.